1
1
# Changelog
2
2
3
- ## 2018.4.0-beta (23 Mar 2018)
3
+ ## 2018.4.0-rc (30 Apr 2018)
4
4
5
5
Thanks to the following projects which we fully rely on to provide some of
6
6
our features:
@@ -16,18 +16,38 @@ his help on [our issue tracker](https://github.com/Microsoft/vscode-python)!
16
16
17
17
### Enhancements
18
18
19
+ 1 . Enable debugging of Jinja templates in the experimental debugger.
20
+ This is made possible with the addition of the ` jinja ` setting in the ` launch.json ` file as follows:
21
+ ``` json
22
+ "request" : " launch or attach" ,
23
+ ...
24
+ "jinja" : true
25
+ ```
26
+ ([ #1206 ] ( https://github.com/Microsoft/vscode-python/issues/1206 ) )
27
+ 1 . Remove empty spaces from the selected text of the active editor when executing in a terminal.
28
+ ([ #1207 ] ( https://github.com/Microsoft/vscode-python/issues/1207 ) )
19
29
1 . Add prelimnary support for remote debugging using the experimental debugger.
20
- Attach to a Python program started using the command ` python -m ptvsd --server --port 9091 --file pythonFile.py ` ([ #1229 ] ( https://github.com/Microsoft/vscode-python/issues/1229 ) )
30
+ Attach to a Python program started using the command ` python -m ptvsd --server --port 9091 --file pythonFile.py `
31
+ ([ #1229 ] ( https://github.com/Microsoft/vscode-python/issues/1229 ) )
21
32
1 . Add support for [ logpoints] ( https://code.visualstudio.com/docs/editor/debugging#_logpoints ) in the experimental debugger.
22
- ([ #1306 ] ( https://github.com/Microsoft/vscode-python/issues/1306 ) )
33
+ ([ #1306 ] ( https://github.com/Microsoft/vscode-python/issues/1306 ) )
23
34
1 . Set focus to the terminal upon creation of a terminal using the ` Python: Create Terminal ` command.
24
- ([ #1315 ] ( https://github.com/Microsoft/vscode-python/issues/1315 ) )
35
+ ([ #1315 ] ( https://github.com/Microsoft/vscode-python/issues/1315 ) )
36
+ 1 . Save the python file before running it in the terminal using the command/menu ` Run Python File in Terminal ` .
37
+ ([ #1316 ] ( https://github.com/Microsoft/vscode-python/issues/1316 ) )
25
38
1 . Added support for source references (remote debugging without having the source code locally) in the experimental debugger.
26
- ([ #1333 ] ( https://github.com/Microsoft/vscode-python/issues/1333 ) )
39
+ ([ #1333 ] ( https://github.com/Microsoft/vscode-python/issues/1333 ) )
40
+ 1 . Add ` Ctrl+Enter ` keyboard shortcut for ` Run Selection/Line in Python Terminal ` .
41
+ ([ #1349 ] ( https://github.com/Microsoft/vscode-python/issues/1349 ) )
27
42
1 . Settings configured within the ` debugOptions ` property of ` launch.json ` for the old debugger are now defined as individual (boolean) properties in the new experimental debugger (e.g. ` "debugOptions": ["RedirectOutput"] ` becomes ` "redirectOutput": true ` ).
28
- ([ #1395 ] ( https://github.com/Microsoft/vscode-python/issues/1395 ) )
29
- 1 . Intergrate Jedi 0.12. See https://github.com/davidhalter/jedi/issues/1063#issuecomment-381417297 for details. ([ #1400 ] ( https://github.com/Microsoft/vscode-python/issues/1400 ) )
30
- 1 . Add prelimnary support for remote debugging using the experimental debugger. ([ #907 ] ( https://github.com/Microsoft/vscode-python/issues/907 ) )
43
+ ([ #1395 ] ( https://github.com/Microsoft/vscode-python/issues/1395 ) )
44
+ 1 . Intergrate Jedi 0.12. See https://github.com/davidhalter/jedi/issues/1063#issuecomment-381417297 for details.
45
+ ([ #1400 ] ( https://github.com/Microsoft/vscode-python/issues/1400 ) )
46
+ 1 . Enable Jinja template debugging as a default behaivour when using the Watson debug configuration for debugging of Watson applications.
47
+ ([ #1480 ] ( https://github.com/Microsoft/vscode-python/issues/1480 ) )
48
+ 1 . Enable Jinja template debugging as a default behavior when debugging Pyramid applications.
49
+ ([ #1492 ] ( https://github.com/Microsoft/vscode-python/issues/1492 ) )
50
+ 1 . Add prelimnary support for remote debugging using the experimental debugger.
31
51
Attach to a Python program after having imported ` ptvsd ` and enabling the debugger to attach as follows:
32
52
``` python
33
53
import ptvsd
@@ -37,56 +57,83 @@ Attach to a Python program started using the command `python -m ptvsd --server -
37
57
* ` ptvsd.break_into_debugger() ` to break into the attached debugger.
38
58
* ` ptvsd.wait_for_attach(timeout) ` to cause the program to wait untill a debugger attaches.
39
59
* ` ptvsd.is_attached() ` to determine whether a debugger is attached to the program.
60
+ ([ #907 ] ( https://github.com/Microsoft/vscode-python/issues/907 ) )
40
61
41
62
### Fixes
42
63
43
- 1 . Use an existing method to identify the active interpreter. ([ #1015 ] ( https://github.com/Microsoft/vscode-python/issues/1015 ) )
44
- 1 . Fix go to definition functionality across files. ([ #1033 ] ( https://github.com/Microsoft/vscode-python/issues/1033 ) )
64
+ 1 . Use an existing method to identify the active interpreter.
65
+ ([ #1015 ] ( https://github.com/Microsoft/vscode-python/issues/1015 ) )
66
+ 1 . Fix ` go to definition ` functionality across files.
67
+ ([ #1033 ] ( https://github.com/Microsoft/vscode-python/issues/1033 ) )
45
68
1 . IntelliSense under Python 2 for inherited attributes works again (thanks to an upgraded Jedi).
46
- ([ #1072 ] ( https://github.com/Microsoft/vscode-python/issues/1072 ) )
69
+ ([ #1072 ] ( https://github.com/Microsoft/vscode-python/issues/1072 ) )
47
70
1 . Reverted change that ended up considering symlinked interpreters as duplicate interpreter.
48
- ([ #1192 ] ( https://github.com/Microsoft/vscode-python/issues/1192 ) )
71
+ ([ #1192 ] ( https://github.com/Microsoft/vscode-python/issues/1192 ) )
49
72
1 . Display errors returned by the PipEnv command when identifying the corresonding environment.
50
- ([ #1254 ] ( https://github.com/Microsoft/vscode-python/issues/1254 ) )
73
+ ([ #1254 ] ( https://github.com/Microsoft/vscode-python/issues/1254 ) )
51
74
1 . When ` editor.formatOnType ` is on, don't add a space for ` *args ` or ` **kwargs `
52
- ([ #1257 ] ( https://github.com/Microsoft/vscode-python/issues/1257 ) )
75
+ ([ #1257 ] ( https://github.com/Microsoft/vscode-python/issues/1257 ) )
53
76
1 . When ` editor.formatOnType ` is on, don't add a space between a string type specifier and the string literal
54
- ([ #1257 ] ( https://github.com/Microsoft/vscode-python/issues/1257 ) )
77
+ ([ #1257 ] ( https://github.com/Microsoft/vscode-python/issues/1257 ) )
78
+ 1 . Reduce the frequency within which the memory usage of the language server is checked, also ensure memory usage is not checked unless language server functionality is used.
79
+ ([ #1277 ] ( https://github.com/Microsoft/vscode-python/issues/1277 ) )
55
80
1 . Ensure interpreter file exists on the file system before including into list of interpreters.
56
- ([ #1305 ] ( https://github.com/Microsoft/vscode-python/issues/1305 ) )
81
+ ([ #1305 ] ( https://github.com/Microsoft/vscode-python/issues/1305 ) )
57
82
1 . Do not have the formatter consider single-quoted string multiline even if it is not terminated.
58
- ([ #1364 ] ( https://github.com/Microsoft/vscode-python/issues/1364 ) )
83
+ ([ #1364 ] ( https://github.com/Microsoft/vscode-python/issues/1364 ) )
59
84
1 . IntelliSense works in module-level ` if ` statements (thanks to Jedi 0.12.0 upgrade).
60
- ([ #142 ] ( https://github.com/Microsoft/vscode-python/issues/142 ) )
85
+ ([ #142 ] ( https://github.com/Microsoft/vscode-python/issues/142 ) )
86
+ 1 . Clicking the codelens ` Run Test ` on a test class should run that specific test class instead of all tests in the file.
87
+ ([ #1472 ] ( https://github.com/Microsoft/vscode-python/issues/1472 ) )
88
+ 1 . Clicking the codelens ` Run Test ` on a test class or method should run that specific test instead of all tests in the file.
89
+ ([ #1473 ] ( https://github.com/Microsoft/vscode-python/issues/1473 ) )
90
+ 1 . Check whether the selected python interpreter is valid before starting the language server. Failing to do so could result in the extension failing to load.
91
+ ([ #1487 ] ( https://github.com/Microsoft/vscode-python/issues/1487 ) )
92
+ 1 . Fixes the issue where Conda environments created using the latest version of Anaconda are not activated in Powershell.
93
+ ([ #1520 ] ( https://github.com/Microsoft/vscode-python/issues/1520 ) )
94
+ 1 . Increase the delay for the activation of environments in Powershell terminals.
95
+ ([ #1533 ] ( https://github.com/Microsoft/vscode-python/issues/1533 ) )
96
+ 1 . Fix activation of environments with spaces in the python path when using Powershell.
97
+ ([ #1534 ] ( https://github.com/Microsoft/vscode-python/issues/1534 ) )
98
+ 1 . Ensure Flask application is launched with multi-threading disabled, when run in the CI tests.
99
+ ([ #1535 ] ( https://github.com/Microsoft/vscode-python/issues/1535 ) )
61
100
1 . IntelliSense works appropriately when a project contains multiple files with the same name (thanks to Jedi 0.12.0 update).
62
- ([ #178 ] ( https://github.com/Microsoft/vscode-python/issues/178 ) )
101
+ ([ #178 ] ( https://github.com/Microsoft/vscode-python/issues/178 ) )
102
+ 1 . Add blank lines to separate blocks of indented code (function defs, classes, and the like) so as to ensure the code can be run within a Python interactive prompt.
103
+ ([ #259 ] ( https://github.com/Microsoft/vscode-python/issues/259 ) )
63
104
1 . Provide type details appropriate for the iterable in a ` for ` loop when the line has a ` # type ` comment.
64
- ([ #338 ] ( https://github.com/Microsoft/vscode-python/issues/338 ) )
105
+ ([ #338 ] ( https://github.com/Microsoft/vscode-python/issues/338 ) )
65
106
1 . Parameter hints following an f-string work again.
66
- ([ #344 ] ( https://github.com/Microsoft/vscode-python/issues/344 ) )
107
+ ([ #344 ] ( https://github.com/Microsoft/vscode-python/issues/344 ) )
67
108
1 . When ` editor.formatOnType ` is on, don't indent after a single-line statement block
68
- ([ #726 ] ( https://github.com/Microsoft/vscode-python/issues/726 ) )
109
+ ([ #726 ] ( https://github.com/Microsoft/vscode-python/issues/726 ) )
110
+ 1 . Fix debugging of Pyramid applications on Windows.
111
+ ([ #737 ] ( https://github.com/Microsoft/vscode-python/issues/737 ) )
69
112
70
113
### Code Health
71
114
72
- 1 . Improved developer experience of the Python Extension on Windows. ([ #1216 ] ( https://github.com/Microsoft/vscode-python/issues/1216 ) )
115
+ 1 . Improved developer experience of the Python Extension on Windows.
116
+ ([ #1216 ] ( https://github.com/Microsoft/vscode-python/issues/1216 ) )
73
117
1 . Parallelize jobs (unit tests) on CI server.
74
- ([ #1247 ] ( https://github.com/Microsoft/vscode-python/issues/1247 ) )
75
- 1 . Run CI tests against the release version and master branch of PTVSD (experimental debugger), allowing tests to fail against the mastre branch of PTVSD.
76
- ([ #1253 ] ( https://github.com/Microsoft/vscode-python/issues/1253 ) )
118
+ ([ #1247 ] ( https://github.com/Microsoft/vscode-python/issues/1247 ) )
119
+ 1 . Run CI tests against the release version and master branch of PTVSD (experimental debugger), allowing tests to fail against the master branch of PTVSD.
120
+ ([ #1253 ] ( https://github.com/Microsoft/vscode-python/issues/1253 ) )
77
121
1 . Only trigger the extension for ` file ` and ` untitled ` in preparation for
78
- [ Visual Studio Live Share] ( https://aka.ms/vsls )
79
- (thanks to [ Jonathan Carter] ( https://github.com/lostintangent ) )
80
- ([ #1298 ] ( https://github.com/Microsoft/vscode-python/issues/1298 ) )
122
+ [ Visual Studio Live Share] ( https://aka.ms/vsls )
123
+ (thanks to [ Jonathan Carter] ( https://github.com/lostintangent ) )
124
+ ([ #1298 ] ( https://github.com/Microsoft/vscode-python/issues/1298 ) )
81
125
1 . Ensure all unit tests run on Travis use the right Python interpreter.
82
- ([ #1318 ] ( https://github.com/Microsoft/vscode-python/issues/1318 ) )
126
+ ([ #1318 ] ( https://github.com/Microsoft/vscode-python/issues/1318 ) )
83
127
1 . Pin all production dependencies.
84
- ([ #1374 ] ( https://github.com/Microsoft/vscode-python/issues/1374 ) )
128
+ ([ #1374 ] ( https://github.com/Microsoft/vscode-python/issues/1374 ) )
85
129
1 . Add support for [ hit count breakpoints] ( https://code.visualstudio.com/docs/editor/debugging#_advanced-breakpoint-topics ) in the experimental debugger.
86
- ([ #1409 ] ( https://github.com/Microsoft/vscode-python/issues/1409 ) )
130
+ ([ #1409 ] ( https://github.com/Microsoft/vscode-python/issues/1409 ) )
87
131
1 . Ensure custom environment variables defined in ` .env ` file are passed onto the ` pipenv ` command.
88
- ([ #1428 ] ( https://github.com/Microsoft/vscode-python/issues/1428 ) )
89
-
132
+ ([ #1428 ] ( https://github.com/Microsoft/vscode-python/issues/1428 ) )
133
+ 1 . Remove unwanted python packages no longer used in unit tests.
134
+ ([ #1494 ] ( https://github.com/Microsoft/vscode-python/issues/1494 ) )
135
+ 1 . Register language server functionality in the extension against specific resource types supporting the python language.
136
+ ([ #1530 ] ( https://github.com/Microsoft/vscode-python/issues/1530 ) )
90
137
91
138
92
139
## 2018.3.1 (29 Mar 2018)
0 commit comments