2021-04-10 00:09:37 +05:30
|
|
|
# BF extension
|
2021-04-09 23:10:36 +05:30
|
|
|
|
2021-04-10 00:11:36 +05:30
|
|
|
A simple language server based VSCode Extension for the ~~Brainfuck~~ ~~Branflakes~~ BF language.
|
2021-04-09 23:10:36 +05:30
|
|
|
|
2021-04-10 00:07:11 +05:30
|
|
|

|
2021-04-09 23:10:36 +05:30
|
|
|
## Functionality
|
|
|
|
|
2021-04-09 23:22:24 +05:30
|
|
|
- [X] Syntax
|
|
|
|
- [X] Bracket matching
|
|
|
|
- [X] Autocomplete suggestions
|
2021-04-09 23:40:13 +05:30
|
|
|
- [ ] Extension icon
|
2021-04-09 23:10:36 +05:30
|
|
|
|
2021-04-09 23:22:24 +05:30
|
|
|
<!--
|
2021-04-09 23:10:36 +05:30
|
|
|
## Structure
|
|
|
|
|
|
|
|
```
|
|
|
|
.
|
|
|
|
├── client // Language Client
|
|
|
|
│ ├── src
|
|
|
|
│ │ ├── test // End to End tests for Language Client / Server
|
|
|
|
│ │ └── extension.ts // Language Client entry point
|
|
|
|
├── package.json // The extension manifest.
|
|
|
|
└── server // Language Server
|
|
|
|
└── src
|
|
|
|
└── server.ts // Language Server entry point
|
|
|
|
```
|
|
|
|
|
|
|
|
## Running the Sample
|
|
|
|
|
|
|
|
- Run `npm install` in this folder. This installs all necessary npm modules in both the client and server folder
|
|
|
|
- Open VS Code on this folder.
|
|
|
|
- Press Ctrl+Shift+B to compile the client and server.
|
|
|
|
- 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`
|
2021-04-09 23:22:24 +05:30
|
|
|
-->
|