From 3a5923205a331688219d3b56225e07cfd15086de Mon Sep 17 00:00:00 2001 From: Alessandro Fragnani Date: Fri, 25 Mar 2022 20:59:27 -0300 Subject: [PATCH] Remove the Formatter extension dependency. Add `Install` option on walkthrough --- README.md | 6 ------ package.json | 2 +- walkthrough/formatter.md | 17 ++++++++++++++++- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5f62e64..1606d08 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,6 @@ * Adds **Virtual Workspaces** support * Adds **Workspace Trust** support * Adds **Multi-root** support -* The **Formatter** was extracted to its own extension ([Pascal Formatter](https://github.com/alefragnani/vscode-pascal-formatter)) ## Support @@ -40,7 +39,6 @@ Here are some of the features that **Pascal** provides: * **Syntax highlighting** for files, forms and projects * A huge set of **Snippets** -* Support for different **Code Formatters** (via [Pascal Formatter](https://github.com/alefragnani/vscode-pascal-formatter)) * Source code **navigation** # Features @@ -105,10 +103,6 @@ Navigate to any language element (methods, attributes, classes, interfaces, and # Available commands -## Code Formatter - -Check out [Pascal Formatter](https://github.com/alefragnani/vscode-pascal-formatter#available-commands) documentation. - ## Code Navigation To enable **Code Navigation**, the extension depends on **GNU Global and Exuberant Tags** and for that, you must run `gtags` on the Root folder, so the tags are created. In order to make life easier, two commands where added: diff --git a/package.json b/package.json index 1beb653..70ea5d6 100644 --- a/package.json +++ b/package.json @@ -201,7 +201,7 @@ { "id": "formatter", "title": "Formatter", - "description": "The extension uses the [Pascal Formatter](command:_pascal.installPascalFormatter) extension, which is automatically installed", + "description": "Standardise your Pascal code\n[Install Pascal Formatter](command:_pascal.installPascalFormatter)", "media": { "markdown": "walkthrough/formatter.md" }, diff --git a/walkthrough/formatter.md b/walkthrough/formatter.md index 097f69d..26e07d8 100644 --- a/walkthrough/formatter.md +++ b/walkthrough/formatter.md @@ -1 +1,16 @@ -![Formatter](./vscode-pascal-format-code.gif) +## Pascal Formatter Extension + +![Pascal Formatter](./vscode-pascal-format-code.gif) + +Use the [Pascal Formatter](command:_pascal.installPascalFormatter) extension to format your code. + +You an choose choose between **Jedi Code Format**, **FreePascal PToP** or **Embarcadero Formatter** + + + + + + +
+ Install Pascal Formatter +
\ No newline at end of file