prettier-plugin-apex
Advanced tools
Comparing version 1.0.0-rc.3 to 1.0.0-rc.4
## Unreleased | ||
## 1.0.0-rc.4 | ||
- Add support for AnnotationString ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/80)). | ||
## 1.0.0-rc.3 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "prettier-plugin-apex", | ||
"version": "1.0.0-rc.3", | ||
"version": "1.0.0-rc.4", | ||
"description": "Salesforce Apex plugin for Prettier", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -118,13 +118,10 @@ # Prettier Apex [![Build Status](https://travis-ci.org/dangmai/prettier-plugin-apex.svg)](https://travis-ci.org/dangmai/prettier-plugin-apex) [![npm](https://img.shields.io/npm/v/prettier-plugin-apex.svg)](https://www.npmjs.com/package/prettier-plugin-apex) ![NPM](https://img.shields.io/npm/l/prettier-plugin-apex.svg) [![codecov](https://codecov.io/gh/dangmai/prettier-plugin-apex/branch/master/graph/badge.svg)](https://codecov.io/gh/dangmai/prettier-plugin-apex) [![Join the chat at https://gitter.im/prettier-plugin-apex/community](https://badges.gitter.im/prettier-plugin-apex/community.svg)](https://gitter.im/prettier-plugin-apex/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
```json | ||
{ | ||
"tabWidth": 2, | ||
"printWidth": 80, | ||
"useTabs": false | ||
} | ||
``` | ||
| Name | Default | Description | | ||
| --------------- | ------- | -------------------------------------------------------------------------------------------------- | | ||
| `printWidth` | `80` | Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#print-width)) | | ||
| `tabWidth` | `2` | Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#tab-width)) | | ||
| `useTabs` | `false` | Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#tabs)) | | ||
| `requirePragma` | `false` | Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#require-pragma)) | | ||
| `insertPragma` | `false` | Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#insert-pragma)) | | ||
Which means that by default, the formatted code will use 2 spaces for indentation, | ||
and will try to format every line to contain under 80 characters. | ||
## Editor integration | ||
@@ -131,0 +128,0 @@ |
@@ -14,2 +14,4 @@ const constants = { | ||
ANNOTATION_VALUE: "apex.jorje.data.ast.AnnotationValue", | ||
ANNOTATION_STRING: | ||
"apex.jorje.data.ast.AnnotationParameter$AnnotationString", | ||
MODIFIER_PARAMETER_REF: | ||
@@ -16,0 +18,0 @@ "apex.jorje.data.ast.ParameterRefs$ModifierParameterRef", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16117492
4109
176