vscode-pascal-formatter
vscode-pascal-formatter copied to clipboard
Pascal formatter extension for Visual Studio Code
The extension should provide a way to allow for project-local configuration files; propably the easiest way is by supporting `${workspaceFolder}` and `${workspaceRoot}` in `pascal.formatter.engineParameters`.
I noticed when first setting up _PascalFormatter_ that the `engineParameters` path needs to be enclosed in `"` while the `enginePath` setting does not (when the path contains a space). So...
Evaluate if Pretter is an alternative to format Pascal files. Probably using the Plug-ins approach
Evaluate a JS/TS lib that could be used to format Pascal files, instead of using external tools like PtoP and JediFormatter that are used today
I wasn't able to test yet, mostly because I have to install free pascal and ptop as README describes.
- [ ] bump `vscode engine` version - [ ] `"extensionKind": ["ui", "workspace"]` - [ ] proper APIs (fs) - [ ] ~WebView API~ - [ ] ~node APIs~ More...