prettier-plugin-apex
prettier-plugin-apex copied to clipboard
Code formatter for the Apex Programming Language
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. ## Awaiting Schedule These updates are awaiting their schedule. Click on a checkbox to...
## Business Case As a developer on the Salesforce platform, I would like to be able to automatically leverage code formatting tools as well as static analysis tools to ensure...
If you omit the `> 0` here, it formats as expected ```sh # Prettier options (if any): printWidth: 100 ``` **Input:** ```apex Boolean hasFoo = [ SELECT Id FROM Something__c...
_Sorry for the cryptic title!_ Everything is indented as if the `new` keyword does not exist. ```sh # Prettier options (if any): { "trailingComma": "none", "apexInsertFinalNewline": false, "singleQuote": true, "printWidth":...
**Input:** ```apex map temp; ``` **Actual output:** ```apex map temp; ``` **Expected output:** ```apex Map temp; ``` **Additional information (please fill this out)**: - OS: macOS 11.6 - Version: "prettier-plugin-apex":...
This is a continuation of our discussion on Twitter between me and @ntotten. The purpose is to add the ability for `prettier-plugin-apex` to interface directly with Salesforce LSP that is...
```sh # Prettier options (if any): none ``` **Input:** ```apex Contact newContact = new Contact(FirstName = 'test', LastName = 'contact', AccountId = [SELECT Id FROM Account LIMIT 1].Id); ``` **Actual...
```sh # Prettier options (if any): Default **Input:** cls file - Selected Text ```apex // code snippet ```errorList.addAll(validateField(contact.FirstName, objectName, 'First Name', 0)); **Actual output:** ```errorList.addAll(validateField(contact.FirstName, objectName, 'First Name', 0)); ```apex...
Our developers that use windows machines get errors when they try to use Prettier on apex files. We are invoking a command like this (via runOnSave in VisualStudio) `c:\Users\Chris\Documents\myproject\common/autoinstallers/rush-githooks/node_modules/.bin/prettier --write...
This plugin has been working, but earlier this week it stopped. As far as I can tell, nothing has changed in the .prettierrc or package.json files. Prettier will format json...