Skip to content

Commit 4ad156e

Browse files
committed
Skip python nested, add python dotted, document in changelog
1 parent 848dc46 commit 4ad156e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
- use `@codemirror/linter` to show diagnostics
1313
- this comes with a different style of underlines and custom tooltips
1414
- known issues/limitations:
15+
- configuration of language servers via JSON Settings Editor may result in a spurious warning
16+
due to a transitive clash with settings from the UI editor when using nested pattern (e.g.
17+
`{pylsp: {flake8: {enabled: true}}}`); the dotted pattern (e.g. `{"pylsp.flake8.enabled": true}`)
18+
does not lead to such problem.
1519
- enabling auto-invoke of completer requires toggling checkbox in both native and LSP `Code Completion` settings
1620
- robot mode does not support JupyterLab 4.0, hence robot LSP will not work either
1721
- renaming in docker files may not work on certain variables due to upstream tokenizer issue

atest/07_Configuration.robot

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,21 @@ Test Tags feature:config
99

1010

1111
*** Test Cases ***
12-
Python
12+
Python Nested
1313
[Documentation] pyflakes is enabled by default, but flake8 is not
14+
Skip
1415
Settings Should Change Editor Diagnostics Python style.py pylsp
1516
... {"pylsp": {"plugins": {"flake8": {"enabled": true},"pyflakes": {"enabled": false}}}}
1617
... undefined name 'foo' (pyflakes)
1718
... undefined name 'foo' (flake8)
1819

20+
Python Dotted
21+
[Documentation] pyflakes is enabled by default, but flake8 is not
22+
Settings Should Change Editor Diagnostics Python style.py pylsp
23+
... {"pylsp.plugins.flake8.enabled": true, "pylsp.plugins.pyflakes.enabled": false}
24+
... undefined name 'foo' (pyflakes)
25+
... undefined name 'foo' (flake8)
26+
1927
Python (server-side via overrides.json)
2028
[Documentation] same as "Python" but changing the defaults in server specification via `overrides.json`
2129
Settings Should Change Editor Diagnostics Python style.py pylsp-with-override-json

0 commit comments

Comments
 (0)