Releases: WyattSL/greyscript
Releases · WyattSL/greyscript
3.0.8
3.0.8
- If JSDoc parsing fails, append to the description instead of crashing.
- Fix
local
being highlighted instead oflocals
. - The new methods (
get_ctf
,CTFEvent
, etc.) have been shipped for offline use with this version. (While online, the extension will pull from Greydocs to provide semantics)
3.0.7: Merge pull request #30 from WyattSL/preview
3.0.7
- Fix some syntax
3.0.6
3.0.6
This update is for 3.0.1 - 3.0.6 merging from preview into stable.
- (3.0.1) Documentation is now automatically pulled from Greydocs
- (3.0.1) User-defined variables & functions are now highlighted.
- (3.0.3) Added some snippets for basic flow control.
- (3.0.6) Improved the performance of the new semantics provider.
- (3.0.6) Variables now support comments, and variables assigned to methods will show the return type of that method.
- (3.0.6) Added JsDoc support! Only
@description
,@param
,@returns
,@example
,@author
,@deprecated
, &@readonly
are supported at this time. Example:
// Concatinate or add three strings or numbers.
// @description (Why is this a function again?)
// @param a {String|Number} String or number 1
// @param b {String|Number} String or number 2
// @param c {String|Number} String or number 3
// @return {String|Number} The concatination of a, b, and c
// @author WyattL
// @example foo("Hello", " ", "There!") // Hello There!
// @example foo(1,2,5)
foo = function(a,b,c)
return a+b+c
end function
3.0.5
3.0.5
- Fixed a bug in the semantics provider which would crash highlighting if a function contained a 'type'.
3.0.4
3.0.4
- Fixed a bug in the semantics provider which would crash highlighting if a function contained a 'type'.
3.0.3
3.0.2
3.0.2
- Semantics improved, now colors when variables and functions are used. (Thanks tux for testing)
3.0.1
3.0.1
- Instead of having two separate documentations (extension docs, and greydocs website) the extension will now attempt to pull documentation data from Greydocs on startup. This can be disabled in settings if your paranoid. When the extension is updated, the current Greydocs data will also be bundled with the extension, to permit offline use. (If you disable this in settings, it will always use bundled.)
- Added semantics! This is the feature that allows highlighting of specific keywords, like variables. The following things are currently classified: classes (Shell, Computer, etc); functions, parameters, variables, methods, strings, keywords, comments, & numbers. Please note I do not handle the colors assigned: those are dependent on your theme. (Thanks Volk for the testing)
- if your wondering why this is 3.x.x now, it because of how the Visual Studio marketplace works. These changes do not merit a major bump, but after removing the old preview branch that used 2.x.x, new updates have to be 3.x.x
1.9.3
1.9.3
- Updated function hints, comments may now be placed one line above, on the same line, or a line below the function definition.