This extension provides syntax highlighting, language configuration, and basic support for the Aura programming language.
- Syntax Highlighting: Complete syntax highlighting for Aura language constructs
- Language Configuration: Proper bracket matching, auto-closing pairs, and comment handling
- Snippets: Code snippets for common Aura patterns
- File Associations: Automatic recognition of
.aurafiles
- Control flow:
fn,if,else,while,for,in,return,let - Declarations:
struct,module,import - Special:
self
- Primitive types:
Int,Bool,Char,String,Unit - Array types:
[Int],[String], etc.
- Integers:
42,0,100 - Booleans:
true,false - Characters:
'a','\n' - Strings:
"hello world"
- Arithmetic:
+,-,*,/ - Comparison:
==,!=,<,<=,>,>= - Logical:
&&,||,! - Range:
.. - Access:
. - Assignment:
=
- Module qualified names:
module::function - Struct field access:
object.field - Function calls and declarations
- Comments:
// lineand/* block */
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Aura Language Support"
- Click Install
- Clone this repository
- Run
npm install - Run
npm run compile - Press F5 to launch extension development host
- Test the extension in the new window
Once installed, VS Code will automatically recognize .aura files and apply syntax highlighting.
If needed, you can manually associate files with the Aura language:
- Open a
.aurafile - Click the language indicator in the status bar
- Select "Aura"
The extension provides the following settings (accessible via settings.json):
{
"aura.enableSyntaxHighlighting": true,
"aura.formatOnSave": false
}Contributions are welcome! Please see the main Aura repository for contribution guidelines.
- Clone this repository
- Run
npm install - Open in VS Code
- Press F5 to start debugging
npm testnpm run compileThe extension uses the following TextMate scope names for syntax highlighting:
comment.line.double-slash.aura- Line commentscomment.block.aura- Block commentsstring.quoted.double.aura- String literalsstring.quoted.single.aura- Character literalskeyword.control.aura- Control flow keywordskeyword.other.aura- Other keywords likeselfconstant.language.boolean.aura- Boolean literalsstorage.type.aura- Built-in typesstorage.type.array.aura- Array type syntaxentity.name.function.aura- Function declarationsentity.name.function.call.aura- Function callsentity.name.type.struct.aura- Struct declarationsentity.name.type.aura- Type namesentity.name.namespace.aura- Module qualifiersconstant.numeric.integer.aura- Integer literalskeyword.operator.*.aura- Various operatorsvariable.other.member.aura- Struct field accessvariable.other.aura- Variable names
This extension is licensed under the MIT License. See LICENSE for details.
- Aura Language Repository - The main Aura programming language repository
- Aura Language Specification - Official language specification