├── .gitattributes ├── .github └── workflows │ ├── changelog.yml │ ├── ci.yml │ ├── conventional-commits.yml │ └── marketplace-publish.yml ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── .vscode ├── launch.json └── tasks.json ├── .vscodeignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── client ├── src │ ├── client.ts │ ├── commands │ │ ├── forcBuild.ts │ │ ├── forcRun.ts │ │ ├── forcTest.ts │ │ ├── goToLocation.ts │ │ ├── installServer.ts │ │ ├── openAstFile.ts │ │ ├── openDotGraph.ts │ │ ├── peekLocations.ts │ │ ├── startFuelCore.ts │ │ └── stopFuelCore.ts │ ├── config.ts │ ├── interface │ │ ├── onEnter.ts │ │ ├── showAst.ts │ │ └── visualize.ts │ ├── main.ts │ ├── palettes.ts │ ├── program.ts │ ├── status_bar │ │ └── fuelCoreStatus.ts │ └── util │ │ ├── convert.ts │ │ └── util.ts ├── test │ └── syntaxes │ │ ├── basic_predicate.sw │ │ ├── basic_predicate.sw.snap │ │ ├── chained_if_let.sw │ │ ├── chained_if_let.sw.snap │ │ ├── const_decl.sw │ │ ├── const_decl.sw.snap │ │ ├── match_expressions_mismatched.sw │ │ ├── match_expressions_mismatched.sw.snap │ │ ├── particle.sw │ │ ├── particle.sw.snap │ │ ├── smo_opcode.sw │ │ ├── smo_opcode.sw.snap │ │ ├── storage_declaration.sw │ │ └── storage_declaration.sw.snap └── tsconfig.json ├── docs └── testing.md ├── images ├── dark │ ├── edit.svg │ ├── play.svg │ ├── refresh.svg │ └── sway.png ├── fuel.svg ├── light │ ├── edit.svg │ ├── play.svg │ ├── refresh.svg │ └── sway.png └── logo.png ├── language-configuration.json ├── package.json ├── scripts └── e2e.sh ├── snippets └── sway.json ├── syntaxes └── sway.tmLanguage.json └── tsconfig.json /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/changelog.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/.github/workflows/changelog.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/conventional-commits.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/.github/workflows/conventional-commits.yml -------------------------------------------------------------------------------- /.github/workflows/marketplace-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/.github/workflows/marketplace-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # Ignore artifacts: 2 | build 3 | coverage 4 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /.vscodeignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/.vscodeignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/README.md -------------------------------------------------------------------------------- /client/src/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/client.ts -------------------------------------------------------------------------------- /client/src/commands/forcBuild.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/commands/forcBuild.ts -------------------------------------------------------------------------------- /client/src/commands/forcRun.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/commands/forcRun.ts -------------------------------------------------------------------------------- /client/src/commands/forcTest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/commands/forcTest.ts -------------------------------------------------------------------------------- /client/src/commands/goToLocation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/commands/goToLocation.ts -------------------------------------------------------------------------------- /client/src/commands/installServer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/commands/installServer.ts -------------------------------------------------------------------------------- /client/src/commands/openAstFile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/commands/openAstFile.ts -------------------------------------------------------------------------------- /client/src/commands/openDotGraph.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/commands/openDotGraph.ts -------------------------------------------------------------------------------- /client/src/commands/peekLocations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/commands/peekLocations.ts -------------------------------------------------------------------------------- /client/src/commands/startFuelCore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/commands/startFuelCore.ts -------------------------------------------------------------------------------- /client/src/commands/stopFuelCore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/commands/stopFuelCore.ts -------------------------------------------------------------------------------- /client/src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/config.ts -------------------------------------------------------------------------------- /client/src/interface/onEnter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/interface/onEnter.ts -------------------------------------------------------------------------------- /client/src/interface/showAst.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/interface/showAst.ts -------------------------------------------------------------------------------- /client/src/interface/visualize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/interface/visualize.ts -------------------------------------------------------------------------------- /client/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/main.ts -------------------------------------------------------------------------------- /client/src/palettes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/palettes.ts -------------------------------------------------------------------------------- /client/src/program.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/program.ts -------------------------------------------------------------------------------- /client/src/status_bar/fuelCoreStatus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/status_bar/fuelCoreStatus.ts -------------------------------------------------------------------------------- /client/src/util/convert.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/util/convert.ts -------------------------------------------------------------------------------- /client/src/util/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/src/util/util.ts -------------------------------------------------------------------------------- /client/test/syntaxes/basic_predicate.sw: -------------------------------------------------------------------------------- 1 | predicate; 2 | 3 | fn main() -> bool { 4 | true 5 | } 6 | -------------------------------------------------------------------------------- /client/test/syntaxes/basic_predicate.sw.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/test/syntaxes/basic_predicate.sw.snap -------------------------------------------------------------------------------- /client/test/syntaxes/chained_if_let.sw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/test/syntaxes/chained_if_let.sw -------------------------------------------------------------------------------- /client/test/syntaxes/chained_if_let.sw.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/test/syntaxes/chained_if_let.sw.snap -------------------------------------------------------------------------------- /client/test/syntaxes/const_decl.sw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/test/syntaxes/const_decl.sw -------------------------------------------------------------------------------- /client/test/syntaxes/const_decl.sw.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/test/syntaxes/const_decl.sw.snap -------------------------------------------------------------------------------- /client/test/syntaxes/match_expressions_mismatched.sw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/test/syntaxes/match_expressions_mismatched.sw -------------------------------------------------------------------------------- /client/test/syntaxes/match_expressions_mismatched.sw.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/test/syntaxes/match_expressions_mismatched.sw.snap -------------------------------------------------------------------------------- /client/test/syntaxes/particle.sw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/test/syntaxes/particle.sw -------------------------------------------------------------------------------- /client/test/syntaxes/particle.sw.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/test/syntaxes/particle.sw.snap -------------------------------------------------------------------------------- /client/test/syntaxes/smo_opcode.sw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/test/syntaxes/smo_opcode.sw -------------------------------------------------------------------------------- /client/test/syntaxes/smo_opcode.sw.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/test/syntaxes/smo_opcode.sw.snap -------------------------------------------------------------------------------- /client/test/syntaxes/storage_declaration.sw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/test/syntaxes/storage_declaration.sw -------------------------------------------------------------------------------- /client/test/syntaxes/storage_declaration.sw.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/test/syntaxes/storage_declaration.sw.snap -------------------------------------------------------------------------------- /client/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/client/tsconfig.json -------------------------------------------------------------------------------- /docs/testing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/docs/testing.md -------------------------------------------------------------------------------- /images/dark/edit.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/images/dark/edit.svg -------------------------------------------------------------------------------- /images/dark/play.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/images/dark/play.svg -------------------------------------------------------------------------------- /images/dark/refresh.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/images/dark/refresh.svg -------------------------------------------------------------------------------- /images/dark/sway.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/images/dark/sway.png -------------------------------------------------------------------------------- /images/fuel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/images/fuel.svg -------------------------------------------------------------------------------- /images/light/edit.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/images/light/edit.svg -------------------------------------------------------------------------------- /images/light/play.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/images/light/play.svg -------------------------------------------------------------------------------- /images/light/refresh.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/images/light/refresh.svg -------------------------------------------------------------------------------- /images/light/sway.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/images/light/sway.png -------------------------------------------------------------------------------- /images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/images/logo.png -------------------------------------------------------------------------------- /language-configuration.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/language-configuration.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/package.json -------------------------------------------------------------------------------- /scripts/e2e.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/scripts/e2e.sh -------------------------------------------------------------------------------- /snippets/sway.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /syntaxes/sway.tmLanguage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/syntaxes/sway.tmLanguage.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FuelLabs/sway-vscode-plugin/HEAD/tsconfig.json --------------------------------------------------------------------------------