|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
|
4 | 4 |
|
| 5 | +## [0.85.0](https://github.com/robotcodedev/robotcode/compare/v0.84.0..v0.85.0) - 2024-08-18 |
| 6 | + |
| 7 | +### Bug Fixes |
| 8 | + |
| 9 | +- **langserver:** Corrected coloring of test case/keyword names if names contains line continuations `...` ([a848a93](https://github.com/robotcodedev/robotcode/commit/a848a935567a41804fa20879a5da6016b5a68f0d)) |
| 10 | + |
| 11 | + |
| 12 | +### Documentation |
| 13 | + |
| 14 | +- Some reorganizations ([a49829b](https://github.com/robotcodedev/robotcode/commit/a49829b80b2e0f35eb4c70772bcff0af720fffeb)) |
| 15 | +- Some more restrucuting ([5b2752f](https://github.com/robotcodedev/robotcode/commit/5b2752f66f2791da51e5d2cc7b063ec8b50fd247)) |
| 16 | +- Correct RF versions in README ([da0af7b](https://github.com/robotcodedev/robotcode/commit/da0af7b82064304c7ed7c1290bb081eb4b38dde6)) |
| 17 | +- "Get Started" improved ([c9954ad](https://github.com/robotcodedev/robotcode/commit/c9954ad394069f71eeac23c4b3453588227834ae)) |
| 18 | + |
| 19 | + |
| 20 | +### Features |
| 21 | + |
| 22 | +- **langserver:** Send full completion info if language client does not support `completionItem/resolve` ([4cf0127](https://github.com/robotcodedev/robotcode/commit/4cf01274e70070b3c9eb9e630afe08be57035e37)) |
| 23 | + |
| 24 | + |
5 | 25 | ## [0.84.0](https://github.com/robotcodedev/robotcode/compare/v0.83.3..v0.84.0) - 2024-08-08
|
6 | 26 |
|
7 | 27 | ### Bug Fixes
|
8 | 28 |
|
9 | 29 | - **debugger:** Corrected handling of local variables in variables inspector ([12ecdd4](https://github.com/robotcodedev/robotcode/commit/12ecdd43376484a40b6cdeb2bca752bc09178fad))
|
| 30 | +- **debugger:** Corrected start debuggin in internalConsole ([b5124c8](https://github.com/robotcodedev/robotcode/commit/b5124c87265aac26f30ec535ec72770bf258cfbd)) |
10 | 31 | - **debugger:** Corrected start debuggin in internalConsole ([f3fbf20](https://github.com/robotcodedev/robotcode/commit/f3fbf20d01d75264d86c0af4575e98b0cfa7ec5b))
|
11 | 32 | - **robot:** Use casefold for normalizing and remove some local imports in VariableMatcher ([04e12a7](https://github.com/robotcodedev/robotcode/commit/04e12a7ee262177f5bede595baa14e283c3ef4e7))
|
| 33 | +- **vscode:** Remove `attachPython` from default `launch.json` config ([217653b](https://github.com/robotcodedev/robotcode/commit/217653b6a6c3e78dbbead659880c12c1d5fb4a54)) |
| 34 | +- **vscode:** Only test cases are reported as queued, started and completed ([1d01f43](https://github.com/robotcodedev/robotcode/commit/1d01f43687a1b2f8428982cadcee7e72e1764738)) |
| 35 | + |
| 36 | + this corrects the number of successful/executed test cases in the upper area of the test explorer |
| 37 | + |
12 | 38 | - **vscode:** Remove `attachPython` from default `launch.json` config ([8052f8d](https://github.com/robotcodedev/robotcode/commit/8052f8dfc4e83a8d7e26ef8049c3631881e0dd34))
|
13 | 39 | - **vscode:** Only test cases are reported as queued, started and completed ([f68b8e3](https://github.com/robotcodedev/robotcode/commit/f68b8e34161b4ec977fcae04d891399a53f951fc))
|
14 | 40 |
|
15 | 41 | this corrects the number of successful/executed test cases in the upper area of the test explorer
|
16 | 42 |
|
17 | 43 |
|
18 | 44 |
|
| 45 | +### Documentation |
| 46 | + |
| 47 | +- **quickstart:** Add quickstart documentation page ([1fdb966](https://github.com/robotcodedev/robotcode/commit/1fdb966038595b79b7081ee94a735a8d76f3098e)) |
| 48 | +- **quickstart:** Improve quickstart documentation ([a5dd60a](https://github.com/robotcodedev/robotcode/commit/a5dd60a0d1da7fd85cb781eaaaf530e5d8f30e8a)) |
| 49 | +- Updated config page ([b230689](https://github.com/robotcodedev/robotcode/commit/b23068989da3aaff5ed8dce3b3c6653dceb88eb5)) |
| 50 | +- Fix some formatting and spelling things ([99d18fe](https://github.com/robotcodedev/robotcode/commit/99d18fe2ffa3f754b125b7ae5f501ae90144c561)) |
| 51 | + |
| 52 | + |
19 | 53 | ### Features
|
20 | 54 |
|
21 | 55 | - **debugger:** Added support for disabling the hiding of debugger threads/tasks. ([049c905](https://github.com/robotcodedev/robotcode/commit/049c90517d36035e3bc86d0271e219e744c5dc7c))
|
22 | 56 |
|
23 | 57 | By setting the ROBOTCODE_DISABLE_HIDDEN_TASKS environment variable to a value not equal to 0, the Robot Code debugger will not be hidden from the Debugpy debugger, allowing you to debug the Robot Code debugger itself.
|
24 | 58 |
|
| 59 | +- Diagnostics modifiers ([d1e5f3f](https://github.com/robotcodedev/robotcode/commit/d1e5f3f5781ba50416fdd3e39c8416978dffc5c7)) |
| 60 | + |
| 61 | + |
| 62 | + Implement functionality to configure diagnostic error messages during source code analysis. Lines in the code with the `# robotcode:` marker are now interpreted as modifiers. The full structure of a modifier is `# robotcode: <action>[code(,code)*]*`. |
| 63 | + |
| 64 | + **Allowed actions:** |
| 65 | + |
| 66 | + - `ignore`: Ignore specified diagnostic codes. |
| 67 | + - `hint`: Treat specified diagnostic codes as hints. |
| 68 | + - `warn`: Treat specified diagnostic codes as warnings. |
| 69 | + - `error`: Treat specified diagnostic codes as errors. |
| 70 | + - `reset`: Reset the diagnostic codes to their default state. |
| 71 | + |
| 72 | + **This implementation allows for the following:** |
| 73 | + |
| 74 | + - Custom actions to be performed on specified diagnostic codes. |
| 75 | + - Enhanced control over which diagnostic messages are shown, ignored, or modified. |
| 76 | + - Flexibility in managing diagnostic outputs for better code quality and debugging experience. |
| 77 | + |
| 78 | + **Usage details:** |
| 79 | + |
| 80 | + - A diagnostic modifier can be placed at the end of a line. It modifies only the errors occurring in that line. |
| 81 | + - A modifier can be placed at the very beginning of a line. It applies from that line to the end of the file. |
| 82 | + - If a modifier is within a block (e.g., Testcase, Keyword, IF, FOR) and is indented, it applies only to the current block. |
| 83 | + |
| 84 | + **Example usage:** |
| 85 | + |
| 86 | + - `# robotcode: ignore[variable-not-found, keyword-not-found]` - Ignores the errors for variable not found and keyword not found. |
| 87 | + - `# robotcode: hint[MultipleKeywords]` - Treats the MultipleKeywords error as a hint. |
| 88 | + - `# robotcode: warn[variable-not-found]` - Treats the variable-not-found error as a warning. |
| 89 | + - `# robotcode: error[keyword-not-found]` - Treats the keyword-not-found error as an error. |
| 90 | + - `# robotcode: reset[MultipleKeywords]` - Resets the MultipleKeywords error to its default state. |
| 91 | + - `# robotcode: ignore` - Ignores all diagnostic messages . |
| 92 | + - `# robotcode: reset` - Resets all diagnostic messages to their default. |
| 93 | + |
| 94 | + **Example scenarios:** |
| 95 | + |
| 96 | + *Modifier at the end of a line:* |
| 97 | + |
| 98 | + ```robot |
| 99 | + *** Keywords *** |
| 100 | + Keyword Name |
| 101 | + Log ${arg1} # robotcode: ignore[variable-not-found] |
| 102 | + ``` |
| 103 | + This modifier will ignore the `variable-not-found` error for the `Log` keyword in this line only. |
| 104 | + |
| 105 | + *Modifier at the beginning of a line:* |
| 106 | + |
| 107 | + ```robot |
| 108 | + # robotcode: ignore[keyword-not-found] |
| 109 | + *** Test Cases *** |
| 110 | + Example Test |
| 111 | + Log Hello |
| 112 | + Some Undefined Keyword |
| 113 | + ``` |
| 114 | + This modifier will ignore `keyword-not-found` errors from the point it is declared to the end of the file. |
| 115 | + |
| 116 | + *Modifier within a block:* |
| 117 | + |
| 118 | + ```robot |
| 119 | + *** Keywords *** |
| 120 | + Example Keyword |
| 121 | + # robotcode: warn[variable-not-found] |
| 122 | + Log ${arg1} |
| 123 | + Another Keyword |
| 124 | + ``` |
| 125 | + This modifier will treat `variable-not-found` errors as warnings within the `Example Keyword` block. |
| 126 | + |
| 127 | + *Modifier using reset:* |
| 128 | + |
| 129 | + ```robot |
| 130 | + # robotcode: error[variable-not-found] |
| 131 | + *** Test Cases *** |
| 132 | + Example Test |
| 133 | + Log ${undefined_variable} |
| 134 | + # robotcode: reset[variable-not-found] |
| 135 | + Log ${undefined_variable} |
| 136 | + ``` |
| 137 | + In this example, the `variable-not-found` error is treated as an error until it is reset in the `Another Test` block, where it will return to its default state. |
| 138 | + |
| 139 | + *Modifier to ignore all diagnostic messages:* |
| 140 | + |
| 141 | + ```robot |
| 142 | + # robotcode: ignore |
| 143 | + *** Test Cases *** |
| 144 | + Example Test |
| 145 | + Log ${undefined_variable} |
| 146 | + Some Undefined Keyword |
| 147 | + ``` |
| 148 | + This modifier will ignore all diagnostic messages from the point it is declared to the end of the file. |
| 149 | + |
| 150 | + *Modifier to reset all diagnostic messages:* |
| 151 | + |
| 152 | + ```robot |
| 153 | + # robotcode: ignore |
| 154 | + *** Test Cases *** |
| 155 | + Example Test |
| 156 | + Log ${undefined_variable} |
| 157 | + # robotcode: reset |
| 158 | + Another Test |
| 159 | + Some Undefined Keyword |
| 160 | + ``` |
| 161 | + In this example, all diagnostic messages are ignored until the `reset` modifier, which returns all messages to their default state from that point onward. |
25 | 162 | - Diagnostics modifiers ([223ec13](https://github.com/robotcodedev/robotcode/commit/223ec134a9a947db50aebba0d10ad290ab3bffb5))
|
26 | 163 |
|
27 | 164 |
|
|
0 commit comments