Skip to content

OGoodness/VSCode-PowerPC-Syntax

Repository files navigation

Asm/PowerPC file support

General file support for .asm and .s files. See section below for details.

from Slippi Source
from Slippi Source

Functionality

  • Syntax highlight
  • Go to definition support
  • Find References
  • Code Autocompletion (Variables/Commands/Macros)
  • Outline
  • Open File/folder
  • Snippets (Need a list of useful snippets)

Syntax highlight

  • Highlight of Labels, Commands, Comments, Strings, Numbers, Hex, etc

Definition lookup

  • Go to Definition
  • Peek Definition

Code Autocompletion

  • Autocomplete for known variables/macros

Commands

  • Asm File Support: Reparse workspace: Useful after external changes (eg: switching branches) to find all new context data
  • Asm File Support: Show extension changes: Opens your favorite changelog to show what's new :)
  • Asm File Support: About: Opens the readme file

Auto Closing Brackets, Strings, and macros

Snippets (Coming Soon)

All snippets start with the character _ to be able to quickly search for them.

Contributing:

Clone and build the repo:

git clone https://github.com/OGoodness/VSCode-PowerPC-Syntax.git
cd VSCode-PowerPC-Syntax
# code .

npm install
npm run watch

Whenever you make changes to the application you need to run the watch command, that way TypeScript can actively look for changes.
From there do the following:

  • Open VS Code on this folder.
  • Run the above command.
  • Switch to the Debug viewlet.
  • Select Launch Client from the drop down.
  • Run the launch config.
  • If you want to debug the server as well use the launch configuration Attach to Server

Make your changes and open up a PR! :D

Snippets:

Error highlights (Coming Soon)

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •