The VS Code extension currently highlights int128, int256, and int512 as valid Rux types, but these types do not exist in the Rux language.
This causes incorrect syntax highlighting and makes it look like these integer sizes are supported when they are not.
Steps to reproduce
- Install the Rux VS Code extension.
- Open a
.rux file.
- Write code containing:
func Main() -> int {
let a: int128 = 0;
let b: int256 = 0;
let c: int512 = 0;
return 0;
}
- Notice that
int128, int256, and int512 are highlighted like valid built-in types.
Expected behavior
The extension should only highlight integer types that are actually supported by Rux.
If these types are not planned or implemented, they should not receive built-in type highlighting.
Actual behavior
int128, int256, and int512 are highlighted despite not existing in the language.
Possible fixes
- Remove
int128, int256, and int512 from the TextMate grammar/type definitions.
- Add the types to Rux if they are intended to be supported in the future.
- Add tests to ensure syntax highlighting matches the current language specification.
The VS Code extension currently highlights
int128,int256, andint512as valid Rux types, but these types do not exist in the Rux language.This causes incorrect syntax highlighting and makes it look like these integer sizes are supported when they are not.
Steps to reproduce
.ruxfile.int128,int256, andint512are highlighted like valid built-in types.Expected behavior
The extension should only highlight integer types that are actually supported by Rux.
If these types are not planned or implemented, they should not receive built-in type highlighting.
Actual behavior
int128,int256, andint512are highlighted despite not existing in the language.Possible fixes
int128,int256, andint512from the TextMate grammar/type definitions.