Version bump 1.4.0

This commit is contained in:
GreenXenith 2021-04-30 13:17:05 -07:00
parent 71e83b8a4e
commit 6e6330e729
5 changed files with 2236 additions and 49 deletions

View File

@ -1,3 +1,16 @@
### 1.4.0: April 30, 2021
- API autocompletion bumped to Minetest version 5.4.1
- Rewrote snippet generator
- No longer requires manual input
- Captures all API methods, tables, and constants
- Adjusted quick info formatting
- Includes API links
- CompletionItemProvider can handle some backspacing now
- Texture modifiers will remove trailing bracket if autocompleted
- Global constructors and namespaces now have snippets
- Added missing globals to .luacheckrc
- Fixed and tweaked formspec highlighting
### 1.3.1: January 18, 2020 ### 1.3.1: January 18, 2020
- Fixed incorrect method snippets - Fixed incorrect method snippets

View File

@ -1,4 +1,4 @@
MIT Copyright 2020 GreenXenith MIT Copyright 2021 GreenXenith
Permission is hereby granted, free of charge, to any person obtaining a Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"), copy of this software and associated documentation files (the "Software"),

View File

@ -3,12 +3,12 @@
## Features ## Features
- Minetest (5.1.0) Lua API code snippets - Minetest (5.4.1) Lua API code autocompletion
- Mod and game folder structure boilerplates - Mod and game folder structure boilerplates
- `.luacheckrc` generator (globals only) - `.luacheckrc` generator (globals only)
- Formspec string syntax highlighting - Formspec string syntax highlighting
**Note:** Code snippets were generated from `lua_api.txt` using the `parse.lua` script. Quality of descriptions and amount of available snippets may be sub-par. `snippets.json` is __not__ pretty-printed. Note: Code snippets were generated from `lua_api.txt` using `snippets.js`. Quality not guaranteed.
## Extension Settings ## Extension Settings
@ -26,17 +26,28 @@ It should look something like this:
## TODO ## TODO
* Fix formspec element autocomplete and add no-namespace snippets (needs token-independent snippets) * Make autocomplete snippets update automatically when needed
* Generate .luacheckrc and snippet.js from API
* Fix formspec element autocomplete (this will require a language server)
## Release Notes ## Release Notes
### 1.4.0: April 30, 2021
- API autocompletion bumped to Minetest version 5.4.1
- Rewrote snippet generator
- No longer requires manual input
- Captures all API methods, tables, and constants
- Adjusted quick info formatting
- Includes API links
- CompletionItemProvider can handle some backspacing now
- Methods with functions as parameters are a little smarter now
- Texture modifiers will remove trailing bracket if autocompleted
- Global constructors and namespaces now have snippets
- Added missing globals to .luacheckrc
- Fixed and tweaked formspec highlighting
### 1.3.1: January 18, 2020 ### 1.3.1: January 18, 2020
- Fixed incorrect method snippets - Fixed incorrect method snippets
### 1.3.0: January 13, 2020 ### 1.3.0: January 13, 2020
- Reworked intellisense - Reworked intellisense
### 1.2.0: January 13, 2020
- Improved autocomplete suggestions
- Fixed snippets not working with other Intellisense extensions

2225
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
"displayName": "Minetest Tools", "displayName": "Minetest Tools",
"description": "Useful tools for Minetest developers.", "description": "Useful tools for Minetest developers.",
"icon": "icon.png", "icon": "icon.png",
"version": "1.3.1", "version": "1.4.0",
"author": { "author": {
"name": "GreenXenith" "name": "GreenXenith"
}, },
@ -57,17 +57,19 @@
} }
} }
], ],
"snippets": [ "snippets": [
{ {
"language": "lua", "language": "lua",
"path": "./snippets.json" "path": "./snippets.json"
} }
], ],
"grammars": [ "grammars": [
{ {
"scopeName": "source.formspec", "scopeName": "source.formspec",
"path": "formspec.json", "path": "formspec.json",
"injectTo": ["source.lua"] "injectTo": [
"source.lua"
]
} }
] ]
}, },