You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -30,11 +30,11 @@ Installation
30
30
31
31
4. Restart Cloud9 in Debug Mode by appending the __debug=2__ parameter to the URL. For example, if your workspace is accessible at https://ide.c9.io/username/workspace_name, you can enable the debug mode from https://ide.c9.io/username/workspace_name?debug=2 . You can also enable the debug mode simply from the menu __Tools__ -> __Developer__ -> __Start in Debug Mode__.
32
32
```diff
33
-
- Please note the following: -
33
+
- Please note the following -
34
34
```
35
-
There is currently no other way to install custom plugins to Cloud9 than using the debug mode, since the Cloud9 API doesn't allow publishing new packages at the moment. See <https://community.c9.io/t/unable-to-publish-c9-package/6235>.
35
+
There is currently no way to install custom plugins to Cloud9 other than using the debug mode, since the Cloud9 API doesn't allow publishing new packages at the moment. See <https://community.c9.io/t/unable-to-publish-c9-package/6235>.
36
36
37
-
5. Use Cloud9 as usual, and warnings will be displayed in the IDE when working on PHP files if PHP CodeSniffer detects any error based on PHPCompatibility & WordPress Coding Standards.
37
+
5. Use Cloud9 as usual, and warnings will be displayed in the IDE when working on PHP files if PHP CodeSniffer detects any error based on PHPCompatibility & WordPress Coding Standards rules.
38
38
39
39
Usage
40
40
-----
@@ -44,10 +44,10 @@ This plugin will display errors found by PHPCS directly in the IDE, as you can s
44
44
45
45
This plugin will do the following:
46
46
47
-
* Run PHPCS on the current PHP file using WordPress Coding Standards and PHPCompatibility.
47
+
* Run PHPCS on the current PHP file using WordPress Coding Standards and PHPCompatibility rules.
48
48
* If errors are found, a warning icon will be displayed next to the line number.
49
49
* When hovering that icon, a tooltip explaining the error will be displayed.
50
-
* In the message, icons will be displayed for helping you distinguish if this is a warning, an error, and if it can be fixed automatically by PHPCF.
50
+
* In the message, icons will be displayed for helping you distinguish if this is a warning or an error, and if it can be fixed automatically by PHPCBF.
51
51
* In the message, the line and column where the error can be found in the code will be displayed inside parenthesis.
52
52
* In the code, errors will be underlined with a red dotted line, and highlighted in red so you can rapidly identify them. Please note that the highlighted characters might not actually be accurate.
53
53
* Since the plugin can only run in debug mode and since a green debug bar is always displayed at the top of the screen when in debug mode, the plugin is also loading a CSS stylesheet in order to hide that annoying debug bar.
@@ -56,15 +56,15 @@ This plugin will do the following:
56
56
57
57
Since there is no simple way to allow HTML in these tooltips, we use some custom unicode characters for displaying more meaningful messages:
| 🔴 Red Circle | The identified issue is considered to be an __error__ by PHPCS. |
62
-
| 🔶 Yellow Diamond | The identified issue is considered to be a __warning__ by PHPCS. |
63
-
| ✔ Checkmark | The issue can be __resolved automatically by running PHPCBF__. Please note that the plugin doesn't run PHPCBF (and doesn't actually fix any issue). |
64
-
| 𝗪𝗣𝗖𝗦 | The issue was identified using __WordPress__ Coding Standards Rules. |
65
-
| 𝗣𝗛𝗣𝗖𝗼𝗺𝗽𝗮𝘁𝗶𝗯𝗶𝗹𝗶𝘁𝘆 | The issue was identified using __PHPCompatibility__ Rules. |
66
-
| ➀ to ➈ | Any number displayed in a circle represent the __severity__ level of the issue. ➄ is the default severity and is never displayed. |
67
-
| (𝟏𝟐𝟑:𝟕𝟖𝟗) | Numbers displayed inside parenthesis refer to the __line__ and __column__ where the issue can be found. In this example, look at line 123 and column 789. |
| 🔴 Red Circle | The identified issue is considered to be an __error__ by PHPCS. |
62
+
| 🔶 Yellow Diamond | The identified issue is considered to be a __warning__ by PHPCS. |
63
+
| ✔ Checkmark | The issue can be __resolved automatically by running PHPCBF__. Please note that the plugin doesn't run PHPCBF (and doesn't actually fix any issue). |
64
+
| 𝗪𝗣𝗖𝗦 | The issue was identified using __WordPress__ Coding Standards Rules.|
65
+
| 𝗣𝗛𝗣𝗖𝗼𝗺𝗽𝗮𝘁𝗶𝗯𝗶𝗹𝗶𝘁𝘆 | The issue was identified using __PHPCompatibility__ Rules.|
66
+
| ➀ to ➈ | Any number displayed in a circle represent the __severity__ level of the issue. ➄ is the default severity and is never displayed. |
67
+
| (𝟏𝟐𝟑:𝟕𝟖𝟗) | Numbers displayed inside parenthesis refer to the __line__ and __column__ where the issue can be found. In this example, look at line 123 and column 789. |
0 commit comments