All notable changes to the "go-syntax" extension will be documented in this file.
- Supports constant variables
- Fixes minor bugs related to functions (#17)
- Supports generic alias types
- Fixes minor bugs related to struct fields (#16)
- Fixes a minor bug in map type
- Fixes a minor bug in switch type
- Fixes a minor bug in interface type
- Fixes property variables (
variable.other.property.field.go
is deprecated)
- Fixes minor bugs in struct field hover and generic type
- Updates
README.md
- Fixes minor bugs related to multi-line struct tags
- Fixes minor bugs in make built-in function
- Fixes struct field when hovering with the mouse
- Fixes minor bugs in struct and single types
- Fixes a minor bug related to map types in functions
- Fixes a minor bug in struct type
Fixes:
- Minor bugs in struct type
- Interface type in functions and generics
- Fixes a minor bug in functions inline
Fixes:
- Minor bugs in interface types and make built-in function
- Early highlighting of variables after control keywords (before formatting with gofmt)
- Early highlighting of types after function declaration (before formatting with gofmt)
- Fixes variables after case keyword in the switch statement
- Fixes variables and types after control keywords
- Removes unnecessary sections
- Fixes a minor bug in double parentheses type
- Improves performance for large files, especially those with long lines of support functions
- Enhances types after the case keyword in the switch type statement
- Refactors map types
- Enhances generics types
- Fixes variable assignment with generic types
- Fixes support functions and functions inline
- Fixes minor bugs in types
Fixes:
- Minor bugs related to chan keyword in variable assignment
- Property field variables and slice index variables with operators
Fixes:
- Minor bugs in types related to double parentheses
- Property field variables with comparison operators
- Slice index variables when using arithmetic operators
- Refactors variable assignment and other struct/interface expressions
- Optimizes performance for faster opening of large files, especially those with long lines of variables, parameters, and types
- Implements stress testing to ensure stability and reliability
- Fixes variables
Updates .vscodeignore
to exclude unnecessary files and folders (examples
, test
)
Fixes early highlighting of variables after control keywords (before formatting with gofmt)
Enhances struct property variables (See #4):
- struct initialization property variables field will be scoped as
"variable.other.property.field.go"
Fixes:
- minor bugs related to struct types within function declaration
- switch/select case variables with support functions
- early highlighting of struct declaration and variables after control keywords (before formatting with gofmt)
- type declaration with generics on multi-lines
- Enhances function and struct declaration
- Refactors function and generic parameter types
- Supports double parentheses types
- Corrects keyword operator behaviors
- Optimizes code
- Improves documentation
- Removes unnecessary sections
- Adds more tests
- Fixes import declaration with semicolon (before formatting with gofmt)
- Fixes minor bugs in variable declaration, switch case variables, multi type declaration, type assertion, and function in-line
- Fixes bugs related to struct types within function parameters, struct declaration, map types, and variables
- Fixes function declaration
- Fixes generic types in the new built-in function
- Fixes chan in make built-in function, struct type fields, variables, and function parameter types
- Enhances function in-line with support for multi return types
- Improves chan with slices for types
- Fixes early highlighting of variables after control keywords (before formatting with gofmt)
- Fixes minor bugs in new built-in function
- Fixes bugs related to property variables from third party imports
- Fixes minor bugs in map type
- Fixes minor bugs in function declaration
- Fixes minor bugs in struct type
- Fixes multi type declaration
- Fixes minor bugs in generic functions
- Fixes struct type
- Corrects map type with functions
- Updates make and new built-in functions
- Improves function declarations and function inline
- Enhances support for generics in support functions
- Fixes type assertion in switch statements when using support functions
- Fixes minor bugs in type and function declaration
- Fixes pre-highlighting of the single type field in struct before formatting with gofmt
- Enhances generic support for types and functions
- Enhances pre-highlighting of variables after control keywords before formatting with gofmt
- Fixes pre-highlighting of variables after control keywords before formatting with gofmt
- Fixes the preview of variables when hovering with the cursor for the tooltip
- Fixes bugs related to types when declaring variables using the var keyword
- Enhances generic type support for map types
- Updates
README.md
- Improves generic type support with map when declaring variables using the var keyword
- Adds new snap commands for test
- Enhances generic type support with map for the built-in make function
- Improves generic type support for the built-in make function
- Fixes a bug related to function types with var keyword
- Fixes bug related to returning multiple params in functions in-line
- Fixes a small bug related to generics in functions in-line
- Fixes minor bugs in function declarations
- Enhances code readability
- Removes unnecessary sections
- Fixes a small bug in function declaration
- Fixes a small bug in make built-in function
- Fixes small bugs related to types within function declaration
- Fixes a small bug in new built-in function
- Fixes minor bugs related to variable types within functions
- Enhances generic support in functions
- Improves type support for the built-in make function
- Introduces new built-in functions: min, max, and clear
- Fixes small bugs in variables
- Fixes small bugs in interface types
- Fixes a small bug in interface types
- Fixes small bugs in switch type assertion
- Fixes small bugs in variable types
- Fixes a small bug in variable types
- Fixes small bugs in all types
- Fixes small bugs in generic types
Starting from now, the extension will provide significantly enhanced support for variables compared to previous versions.
Details:
- Variable parameters in functions and generics will be scoped as "variable.parameter.go"
- Variable names in structs and struct initialization will be scoped as "variable.other.property.go"
- Variable names in imports will be scoped as "variable.other.import.go"
- Loop label names will be scoped as "variable.other.label.go"
Add support for:
- Variable parameters in functions
- Variable parameters in generics
- Variable names in struct
- Variable names in struct initialization
- Label loop names
- Enhances generic support in all types
- Enhances generic support in function declarations
- Adds a new icon
- Fixes a small bug related to structs in function parameters
- Adds type support to the new keyword (to instantiate a struct)
- Fixes a small bug in import
- Adds generic support to support functions
- Fixes small bugs (interface types, type assertions)
- Fixes small bug in map types
- Fixes small bugs in struct fields
- Fixes incorrect highlighting for multidimensional slice type in struct's fields
- Fixes small bugs in function declaration
- Fixes different colors (storage types) in support functions with a new solution
- Fixes decrementing operator highlighting in for loop
- Fixes a small bug that occurred in the v0.2.5
- Fixes different colors (storage types) in support functions
- Adds generic support to the struct
- Stable Version
- Fixes unnecessary highlighting (control keywords)
- Fixes unnecessary highlighting (other struct expressions, other type names)
- Stable Version
- Fixes other type names declaration in function
- First version of Go Syntax