File tree Expand file tree Collapse file tree 3 files changed +32
-7
lines changed
packages/jupyterlab-lsp/src/magics Expand file tree Collapse file tree 3 files changed +32
-7
lines changed Original file line number Diff line number Diff line change 1
1
## CHANGELOG
2
2
3
- ### ` @krassowski/jupyterlab-lsp 1.0.1 ` (unreleased)
3
+ ### ` @krassowski/jupyterlab-lsp 1.1.0 ` (unreleased)
4
+
5
+ - features
6
+
7
+ - language servers can now be configured from the Advanced Settings Editor ([ #245 ] [ ] )
4
8
5
9
- bug fixes
6
10
7
11
- fixes currently-highlighted token in dark editor themes against light lab theme
8
12
(and vice versa) ([ #195 ] [ ] )
9
13
- restores sorting order-indicating caret icons in diagnostics panel table ([ #261 ] [ ] )
10
14
- handles document open and change operation ordering more predictably ([ #284 ] [ ] )
11
- - fixes some pyflakes issues caused by line magics substitution
15
+ - fixes some pyflakes issues caused by line magics substitution ( [ # 293 ] [ ] )
12
16
13
17
[ #195 ] : https://github.com/krassowski/jupyterlab-lsp/issues/195
14
18
[ #261 ] : https://github.com/krassowski/jupyterlab-lsp/issues/261
19
+ [ #293 ] : https://github.com/krassowski/jupyterlab-lsp/pull/293
20
+
21
+ ### ` @krassowski/jupyterlab-lsp 0.9.0 ` (unreleased)
22
+
23
+ - features
24
+
25
+ - language servers can now be configured from the Advanced Settings Editor ([ #245 ] [ ] )
26
+
27
+ - bug fixes
28
+
29
+ - handles document open and change operation ordering more predictably ([ #284 ] [ ] )
30
+
31
+ ### ` lsp-ws-connection 0.5.0 ` (unreleased)
32
+
33
+ - features
34
+
35
+ - language servers can now be configured from the Advanced Settings Editor ([ #245 ] [ ] )
36
+
37
+ - bug fixes
38
+
39
+ - handles document open and change operation ordering more predictably ([ #284 ] [ ] )
40
+
41
+ [ #245 ] : https://github.com/krassowski/jupyterlab-lsp/pull/245
15
42
[ #284 ] : https://github.com/krassowski/jupyterlab-lsp/pull/284
16
43
17
44
### ` @krassowski/jupyterlab-lsp 1.0.0 ` (2020-03-14)
Original file line number Diff line number Diff line change @@ -108,9 +108,7 @@ describe('Default IPython overrides', () => {
108
108
// this is a corner-case as described in
109
109
// https://github.com/krassowski/jupyterlab-lsp/issues/281#issuecomment-645286076
110
110
let override = line_magics_map . override_for ( 'x =%ls' ) ;
111
- expect ( override ) . to . equal (
112
- 'x =get_ipython().run_line_magic("ls", "")'
113
- ) ;
111
+ expect ( override ) . to . equal ( 'x =get_ipython().run_line_magic("ls", "")' ) ;
114
112
} ) ;
115
113
116
114
it ( 'does not override line-magic-like constructs' , ( ) => {
Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ export const language_specific_overrides: IOverridesRegistry = {
39
39
40
40
// note magics do not have to start with the new line, for example x = !ls or x = %ls are both valid.
41
41
// x =%ls is also valid. However, percent may also appear in strings, e.g. ls('%').
42
- // Hence: (^|\s|=) for shell commands (!) and line magics (%); see issue #281.
42
+ // Hence: (^|\\ s|=) for shell commands (!) and line magics (%); see issue #281.
43
43
// This does not solve all issues, for example `list(" %ls")` still leads to:
44
44
// `list(" get_ipython().run_line_magic("ls")", "")`.
45
45
{
46
- pattern : '(^|\s|=)!(\\S+)(.*)(\n)?' ,
46
+ pattern : '(^|\\ s|=)!(\\S+)(.*)(\n)?' ,
47
47
replacement : '$1get_ipython().getoutput("$2$3")$4' ,
48
48
reverse : {
49
49
pattern : 'get_ipython\\(\\).getoutput\\("(.*?)"\\)(\n)?' ,
You can’t perform that action at this time.
0 commit comments