Skip to content

Commit 147ff15

Browse files
authored
Merge pull request #2 from microsoft/master
Sync to upstream
2 parents fcaa584 + f3a32e7 commit 147ff15

File tree

302 files changed

+24252
-10660
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

302 files changed

+24252
-10660
lines changed

.github/ISSUE_TEMPLATE/1_ds_bug_report.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Bug report for Notebook Editor, Interactive Window, Python Editor cells
33
about: Create a report to help us improve
44
labels: type-bug, data science
55
---
6-
# Bug: Notebook Editor, Interactive Window, Python Editor cells
6+
# Bug: Notebook Editor, Interactive Window, Editor cells
77

88
<!-----------------------------------------------------------------------------------------------
99
***PLEASE READ***
@@ -15,7 +15,9 @@ bug template instead of this one. ***Thank you!***
1515
## Steps to cause the bug to occur
1616
1.
1717

18-
## Actual & Expected behavior
18+
## Actual behavior
19+
20+
## Expected behavior
1921

2022
<!-----------------------------------------------------------------------------------------------
2123
Animated GIFs can be effective means to describe a bug. Consider using a tool like
@@ -38,7 +40,7 @@ Copy/paste the output in the "Console" tab in the "Developer Tools" panel (Help
3840
Toggle Developer Tools). For better details, run the "Enable source map support for
3941
extension debugging" command in VS Code at least once beforehand.
4042
------------------------------------------------------------------------------------------------->
41-
43+
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer
4244

4345

4446

.github/ISSUE_TEMPLATE/2_bug_report.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ XXX
2525
XXX
2626

2727
## Steps to reproduce:
28+
[**NOTE**: Self-contained, minimal reproducing code samples are **extremely** helpful and will expedite addressing your issue]
29+
2830
1. XXX
2931

3032
<!--

.github/ISSUE_TEMPLATE/3_ds_feature_request.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Feature request for Notebook Editor, Interactive Window, Python Editor cells
2+
name: Feature request for Notebook Editor, Interactive Window, Editor cells
33
about: Suggest an idea for this project
44
labels: type-enhancement, data science
55
---
@@ -15,4 +15,6 @@ request template instead of this one. ***Thank you!***
1515
## Description
1616

1717

18+
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer
19+
1820

.vscode/launch.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,29 @@
158158
"preLaunchTask": "Compile",
159159
"skipFiles": ["<node_internals>/**"]
160160
},
161+
{
162+
"name": "Unit Tests (fast, without VS Code and without react/monaco, *.unit.test.ts)",
163+
"type": "node",
164+
"request": "launch",
165+
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
166+
"stopOnEntry": false,
167+
"sourceMaps": true,
168+
"args": [
169+
"./out/test/**/*.unit.test.js",
170+
"--require=out/test/unittests.js",
171+
"--ui=tdd",
172+
"--recursive",
173+
"--colors",
174+
//"--grep", "<suite name>",
175+
"--timeout=300000",
176+
"--fast"
177+
],
178+
"outFiles": [
179+
"${workspaceFolder}/out/**/*.js"
180+
],
181+
"preLaunchTask": "Compile",
182+
"skipFiles": ["<node_internals>/**"]
183+
},
161184
{
162185
"name": "Functional Tests (without VS Code, *.functional.test.ts)",
163186
"type": "node",

CHANGELOG.md

Lines changed: 246 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,200 @@
11
# Changelog
22

3+
## 2019.11.0-rc (7 November 2019)
4+
5+
### Enhancements
6+
7+
1. Add Vega support into our list of transforms for output.
8+
([#4125](https://github.com/Microsoft/vscode-python/issues/4125))
9+
1. Add `.flake8` file association as ini-file.
10+
(thanks [thernstig](https://github.com/thernstig/))
11+
([#6506](https://github.com/Microsoft/vscode-python/issues/6506))
12+
1. Provide user feedback when searching for a Jupyter server to use and allow the user to cancel this process.
13+
([#7262](https://github.com/Microsoft/vscode-python/issues/7262))
14+
1. By default, don't change matplotlib themes and place all plots on a white background regardless of VS Code theme. Add a setting to allow for plots to try to theme.
15+
([#8000](https://github.com/Microsoft/vscode-python/issues/8000))
16+
1. Prompt to open exported `Notebook` in the `Notebook Editor`.
17+
([#8078](https://github.com/Microsoft/vscode-python/issues/8078))
18+
1. Add commands translation for Farsi locale.
19+
(thanks [Nikronic](https://github.com/Nikronic))
20+
([#8092](https://github.com/Microsoft/vscode-python/issues/8092))
21+
1. Enhance "select a workspace" message when selecting interpreter.
22+
(thanks [Nikolay Kondratyev](https://github.com/kondratyev-nv/))
23+
([#8103](https://github.com/Microsoft/vscode-python/issues/8103))
24+
1. Add logging support for python debug adapter.
25+
([#8106](https://github.com/Microsoft/vscode-python/issues/8106))
26+
1. Style adjustments to line numbers (color and width) in the `Native Editor`, to line up with VS Code styles.
27+
([#8289](https://github.com/Microsoft/vscode-python/issues/8289))
28+
1. Added command translations for Turkish.
29+
(thanks to [alioguzhan](https://github.com/alioguzhan/))
30+
([#8320](https://github.com/Microsoft/vscode-python/issues/8320))
31+
1. Toolbar was updated to take less space and be reached more easily.
32+
([#8366](https://github.com/Microsoft/vscode-python/issues/8366))
33+
34+
### Fixes
35+
36+
1. Fix running a unittest file executing only the first test.
37+
(thanks [Nikolay Kondratyev](https://github.com/kondratyev-nv/))
38+
([#4567](https://github.com/Microsoft/vscode-python/issues/4567))
39+
1. Force the pytest root dir to always be the workspace root folder.
40+
([#6548](https://github.com/Microsoft/vscode-python/issues/6548))
41+
1. The notebook editor will now treat wrapped lines as different lines, so moving in cells and between cells with the arrow keys (and j and k) will be easier.
42+
([#7227](https://github.com/Microsoft/vscode-python/issues/7227))
43+
1. During test discovery, ignore tests generated by pytest plugins (like pep8).
44+
Tests like that were causing discovery to fail.
45+
([#7287](https://github.com/Microsoft/vscode-python/issues/7287))
46+
1. When exporting a notebook editor to python script don't use the temp file location for generating the export.
47+
([#7567](https://github.com/Microsoft/vscode-python/issues/7567))
48+
1. Unicode symbol used to mark skipped tests was almost not visible on Linux and Windows.
49+
([#7705](https://github.com/Microsoft/vscode-python/issues/7705))
50+
1. Editing cells in a notebook, closing VS code, and then reopening will not have the cell content visible.
51+
([#7754](https://github.com/Microsoft/vscode-python/issues/7754))
52+
1. Sonar warnings.
53+
([#7812](https://github.com/Microsoft/vscode-python/issues/7812))
54+
1. Remove --ci flag from install_ptvsd.py to fix execution of "Setup" instructions from CONTRIBUTING.md.
55+
([#7814](https://github.com/Microsoft/vscode-python/issues/7814))
56+
1. Add telemetry for control groups in debug adapter experiments.
57+
([#7817](https://github.com/Microsoft/vscode-python/issues/7817))
58+
1. Allow the language server to pick a default caching mode.
59+
([#7821](https://github.com/Microsoft/vscode-python/issues/7821))
60+
1. Respect ignoreVSCodeTheme setting and correctly swap icons when changing from light to dark color themes.
61+
([#7847](https://github.com/Microsoft/vscode-python/issues/7847))
62+
1. 'Clear All Output' now deletes execution count for all cells.
63+
([#7853](https://github.com/Microsoft/vscode-python/issues/7853))
64+
1. If a Jupyter server fails to start, allow user to retry without having to restart VS code.
65+
([#7865](https://github.com/Microsoft/vscode-python/issues/7865))
66+
1. Fix strings of commas appearing in text/html output in the notebook editor.
67+
([#7873](https://github.com/Microsoft/vscode-python/issues/7873))
68+
1. When creating a new blank notebook, it has existing text in it already.
69+
([#7980](https://github.com/Microsoft/vscode-python/issues/7980))
70+
1. Can now include a LaTeX-style equation without surrounding the equation with '$' in a markdown cell.
71+
([#7992](https://github.com/Microsoft/vscode-python/issues/7992))
72+
1. Make a spinner appear during executing a cell.
73+
([#8003](https://github.com/Microsoft/vscode-python/issues/8003))
74+
1. Signature help is overflowing out of the signature help widget on the Notebook Editor.
75+
([#8006](https://github.com/Microsoft/vscode-python/issues/8006))
76+
1. Ensure intellisense (& similar widgets/popups) are dispaled for one cell in the Notebook editor.
77+
([#8007](https://github.com/Microsoft/vscode-python/issues/8007))
78+
1. Correctly restart Jupyter sessions when the active interpreter is changed.
79+
([#8019](https://github.com/Microsoft/vscode-python/issues/8019))
80+
1. Clear up wording around jupyterServerURI and remove the quick pick from the flow of setting that.
81+
([#8021](https://github.com/Microsoft/vscode-python/issues/8021))
82+
1. Use actual filename comparison for filename equality checks.
83+
([#8022](https://github.com/Microsoft/vscode-python/issues/8022))
84+
1. Opening a notebook a second time round with changes (made from another editor) should be preserved.
85+
([#8025](https://github.com/Microsoft/vscode-python/issues/8025))
86+
1. Minimize the GPU impact of the interactive window and the notebook editor.
87+
([#8039](https://github.com/Microsoft/vscode-python/issues/8039))
88+
1. Store version of the `Python` interpreter (kernel) in the notebook metadata when running cells.
89+
([#8064](https://github.com/Microsoft/vscode-python/issues/8064))
90+
1. Make shift+enter not take focus unless about to add a new cell.
91+
([#8069](https://github.com/Microsoft/vscode-python/issues/8069))
92+
1. When checking the version of `pandas`, use the same interpreter used to start `Jupyter`.
93+
([#8084](https://github.com/Microsoft/vscode-python/issues/8084))
94+
1. Make brackets and paranthesis auto complete in the Notebook Editor and Interactive Window (based on editor settings).
95+
([#8086](https://github.com/Microsoft/vscode-python/issues/8086))
96+
1. Cannot create more than one blank notebook.
97+
([#8132](https://github.com/Microsoft/vscode-python/issues/8132))
98+
1. Fix for code disappearing after switching between markdown and code in a Notebook Editor.
99+
([#8141](https://github.com/Microsoft/vscode-python/issues/8141))
100+
1. Support `⌘+s` keyboard shortcut for saving `Notebooks`.
101+
([#8151](https://github.com/Microsoft/vscode-python/issues/8151))
102+
1. Fix closing a Notebook Editor to actually wait for the kernel to restart.
103+
([#8167](https://github.com/Microsoft/vscode-python/issues/8167))
104+
1. Inserting a cell in a notebook can sometimes cause the contents to be the cell below it.
105+
([#8194](https://github.com/Microsoft/vscode-python/issues/8194))
106+
1. Scroll the notebook editor when giving focus or changing line of a code cell.
107+
([#8205](https://github.com/Microsoft/vscode-python/issues/8205))
108+
1. Prevent code from changing in the Notebook Editor while running a cell.
109+
([#8215](https://github.com/Microsoft/vscode-python/issues/8215))
110+
1. When updating the Python extension, unsaved changes to notebooks are lost.
111+
([#8263](https://github.com/Microsoft/vscode-python/issues/8263))
112+
1. Fix CI to use Python 3.7.5.
113+
([#8296](https://github.com/Microsoft/vscode-python/issues/8296))
114+
1. Correctly transition markdown cells into code cells.
115+
([#8386](https://github.com/Microsoft/vscode-python/issues/8386))
116+
117+
### Code Health
118+
119+
1. Add unit tests for src/client/common/process/pythonProcess.ts.
120+
([#6065](https://github.com/Microsoft/vscode-python/issues/6065))
121+
1. Remove try...catch around use of vscode.env.shell.
122+
([#6912](https://github.com/Microsoft/vscode-python/issues/6912))
123+
1. Test plan needed to be updated to include support for the Notebook Editor.
124+
([#7593](https://github.com/Microsoft/vscode-python/issues/7593))
125+
1. Add test step to get correct pywin32 installed with python 3.6 on windows.
126+
([#7798](https://github.com/Microsoft/vscode-python/issues/7798))
127+
1. Update Test Explorer icons to match new VS Code icons.
128+
([#7809](https://github.com/Microsoft/vscode-python/issues/7809))
129+
1. Fix native editor mime type functional test.
130+
([#7877](https://github.com/Microsoft/vscode-python/issues/7877))
131+
1. Fix variable explorer loading test.
132+
([#7878](https://github.com/Microsoft/vscode-python/issues/7878))
133+
1. Add telemetry to capture usage of features in the `Notebook Editor` for `Data Science` features.
134+
([#7908](https://github.com/Microsoft/vscode-python/issues/7908))
135+
1. Fix debug temporary functional test for Mac / Linux.
136+
([#7994](https://github.com/Microsoft/vscode-python/issues/7994))
137+
1. Variable explorer tests failing on nightly.
138+
([#8124](https://github.com/Microsoft/vscode-python/issues/8124))
139+
1. Timeout with new waitForMessage in native editor tests.
140+
([#8255](https://github.com/Microsoft/vscode-python/issues/8255))
141+
1. Remove code used to track perf of creation classes.
142+
([#8280](https://github.com/Microsoft/vscode-python/issues/8280))
143+
1. Update TypeScript to `3.7`.
144+
([#8395](https://github.com/Microsoft/vscode-python/issues/8395))
145+
146+
### Thanks
147+
148+
Thanks to the following projects which we fully rely on to provide some of
149+
our features:
150+
- [isort](https://pypi.org/project/isort/)
151+
- [jedi](https://pypi.org/project/jedi/)
152+
and [parso](https://pypi.org/project/parso/)
153+
- [Microsoft Python Language Server](https://github.com/microsoft/python-language-server)
154+
- [ptvsd](https://pypi.org/project/ptvsd/)
155+
- [pyparsing](https://pypi.org/project/pyparsing/)
156+
- [exuberant ctags](http://ctags.sourceforge.net/) (user-installed)
157+
- [rope](https://pypi.org/project/rope/) (user-installed)
158+
159+
Also thanks to the various projects we provide integrations with which help
160+
make this extension useful:
161+
- Debugging support:
162+
[Django](https://pypi.org/project/Django/),
163+
[Flask](https://pypi.org/project/Flask/),
164+
[gevent](https://pypi.org/project/gevent/),
165+
[Jinja](https://pypi.org/project/Jinja/),
166+
[Pyramid](https://pypi.org/project/pyramid/),
167+
[PySpark](https://pypi.org/project/pyspark/),
168+
[Scrapy](https://pypi.org/project/Scrapy/),
169+
[Watson](https://pypi.org/project/Watson/)
170+
- Formatting:
171+
[autopep8](https://pypi.org/project/autopep8/),
172+
[black](https://pypi.org/project/black/),
173+
[yapf](https://pypi.org/project/yapf/)
174+
- Interpreter support:
175+
[conda](https://conda.io/),
176+
[direnv](https://direnv.net/),
177+
[pipenv](https://pypi.org/project/pipenv/),
178+
[pyenv](https://github.com/pyenv/pyenv),
179+
[venv](https://docs.python.org/3/library/venv.html#module-venv),
180+
[virtualenv](https://pypi.org/project/virtualenv/)
181+
- Linting:
182+
[bandit](https://pypi.org/project/bandit/),
183+
[flake8](https://pypi.org/project/flake8/),
184+
[mypy](https://pypi.org/project/mypy/),
185+
[prospector](https://pypi.org/project/prospector/),
186+
[pylint](https://pypi.org/project/pylint/),
187+
[pydocstyle](https://pypi.org/project/pydocstyle/),
188+
[pylama](https://pypi.org/project/pylama/)
189+
- Testing:
190+
[nose](https://pypi.org/project/nose/),
191+
[pytest](https://pypi.org/project/pytest/),
192+
[unittest](https://docs.python.org/3/library/unittest.html#module-unittest)
193+
194+
And finally thanks to the [Python](https://www.python.org/) development team and
195+
community for creating a fantastic programming language and community to be a
196+
part of!
197+
3198
## 2019.10.1 (22 October 2019)
4199

5200
### Enhancements
@@ -66,6 +261,56 @@
66261
1. Use `Webview.asWebviewUri` to generate a URI for use in the `Webview Panel` instead of hardcoding the resource `vscode-resource`.
67262
([#7834](https://github.com/Microsoft/vscode-python/issues/7834))
68263

264+
### Thanks
265+
266+
Thanks to the following projects which we fully rely on to provide some of
267+
our features:
268+
- [isort](https://pypi.org/project/isort/)
269+
- [jedi](https://pypi.org/project/jedi/)
270+
and [parso](https://pypi.org/project/parso/)
271+
- [Microsoft Python Language Server](https://github.com/microsoft/python-language-server)
272+
- [ptvsd](https://pypi.org/project/ptvsd/)
273+
- [exuberant ctags](http://ctags.sourceforge.net/) (user-installed)
274+
- [rope](https://pypi.org/project/rope/) (user-installed)
275+
276+
Also thanks to the various projects we provide integrations with which help
277+
make this extension useful:
278+
- Debugging support:
279+
[Django](https://pypi.org/project/Django/),
280+
[Flask](https://pypi.org/project/Flask/),
281+
[gevent](https://pypi.org/project/gevent/),
282+
[Jinja](https://pypi.org/project/Jinja/),
283+
[Pyramid](https://pypi.org/project/pyramid/),
284+
[PySpark](https://pypi.org/project/pyspark/),
285+
[Scrapy](https://pypi.org/project/Scrapy/),
286+
[Watson](https://pypi.org/project/Watson/)
287+
- Formatting:
288+
[autopep8](https://pypi.org/project/autopep8/),
289+
[black](https://pypi.org/project/black/),
290+
[yapf](https://pypi.org/project/yapf/)
291+
- Interpreter support:
292+
[conda](https://conda.io/),
293+
[direnv](https://direnv.net/),
294+
[pipenv](https://pypi.org/project/pipenv/),
295+
[pyenv](https://github.com/pyenv/pyenv),
296+
[venv](https://docs.python.org/3/library/venv.html#module-venv),
297+
[virtualenv](https://pypi.org/project/virtualenv/)
298+
- Linting:
299+
[bandit](https://pypi.org/project/bandit/),
300+
[flake8](https://pypi.org/project/flake8/),
301+
[mypy](https://pypi.org/project/mypy/),
302+
[prospector](https://pypi.org/project/prospector/),
303+
[pylint](https://pypi.org/project/pylint/),
304+
[pydocstyle](https://pypi.org/project/pydocstyle/),
305+
[pylama](https://pypi.org/project/pylama/)
306+
- Testing:
307+
[nose](https://pypi.org/project/nose/),
308+
[pytest](https://pypi.org/project/pytest/),
309+
[unittest](https://docs.python.org/3/library/unittest.html#module-unittest)
310+
311+
And finally thanks to the [Python](https://www.python.org/) development team and
312+
community for creating a fantastic programming language and community to be a
313+
part of!
69314

70315
## 2019.10.0 (8 October 2019)
71316

@@ -4221,4 +4466,4 @@ the following people who contributed code:
42214466
* Added ability to view global variables, arguments, add and remove break points
42224467

42234468
## Version 0.0.3
4224-
* Added support for debugging using PDB
4469+
* Added support for debugging using PDB

0 commit comments

Comments
 (0)