From @abrakidabra on April 28, 2017 0:1
Environment data
VS Code version: 1.11.2
Python Extension version: 0.6.3
Python Version: 2.7.13
OS and version: MacOS Sierra 10.12.4
Actual behavior
When putting a full stop at the end of a line inside triple quotes the intellisense dialog pops up and suggests a bunch of options. I then hit the enter key to go to the next line but instead of going to the next line it adds the first suggestion in the intellisense dialog to the string.
Expected behavior
No intellisense inside triple quoted strings. It's very clunky to have to hit the escape key at the end of every line with a full stop on it.
Steps to reproduce:
- Type this code. When you get to the first full stop at the end of the line it will suggest a bunch of possible options to insert.
print """
There's somethign going on here.
With the three double-quotes.
"""
Settings
Workspace Settings:
{
"python.pythonPath": "/Data/Development/Python/VirtualEnvironments/vscode/bin/python2.7",
"python.linting.pylintPath": "/Data/Development/Python/VirtualEnvironments/vscode/bin/pylint",
"python.formatting.autopep8Path": "/Data/Development/Python/VirtualEnvironments/vscode/bin/autopep8",
"editor.detectIndentation": false,
"editor.insertSpaces": true,
"editor.rulers": [
80
],
"editor.renderIndentGuides": true
}
User Settings:
{
"editor.fontFamily": "Liberation Mono",
"editor.fontSize": 11,
"editor.autoClosingBrackets": false,
"editor.renderWhitespace": "boundary",
"editor.insertSpaces": false,
"editor.detectIndentation": true,
"editor.renderIndentGuides": true,
"editor.formatOnType": true,
"editor.formatOnPaste": true,
"editor.trimAutoWhitespace": true,
"editor.codeLens": false,
"terminal.integrated.fontFamily": "Liberation Mono",
"terminal.integrated.fontSize": 10
, // Migrated from previous "File | Auto Save" setting:
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 2000,
"path-intellisense.showHiddenFiles": true,
"path-intellisense.autoSlashAfterDirectory": true,
"typescript.disableAutomaticTypeAcquisition": true,
"window.zoomLevel": 0,
"git.path": "/usr/local/bin/git",
"workbench.colorTheme": "Visual Studio Dark",
"workbench.iconTheme": "vs-nomo-dark",
"[cpp]": {
"editor.quickSuggestions": false
},
"[c]": {
"editor.quickSuggestions": false
}
}

Copied from original issue: DonJayamanne/pythonVSCode#921
From @abrakidabra on April 28, 2017 0:1
Environment data
VS Code version: 1.11.2
Python Extension version: 0.6.3
Python Version: 2.7.13
OS and version: MacOS Sierra 10.12.4
Actual behavior
When putting a full stop at the end of a line inside triple quotes the intellisense dialog pops up and suggests a bunch of options. I then hit the enter key to go to the next line but instead of going to the next line it adds the first suggestion in the intellisense dialog to the string.
Expected behavior
No intellisense inside triple quoted strings. It's very clunky to have to hit the escape key at the end of every line with a full stop on it.
Steps to reproduce:
Settings
Workspace Settings:
{ "python.pythonPath": "/Data/Development/Python/VirtualEnvironments/vscode/bin/python2.7", "python.linting.pylintPath": "/Data/Development/Python/VirtualEnvironments/vscode/bin/pylint", "python.formatting.autopep8Path": "/Data/Development/Python/VirtualEnvironments/vscode/bin/autopep8", "editor.detectIndentation": false, "editor.insertSpaces": true, "editor.rulers": [ 80 ], "editor.renderIndentGuides": true }User Settings:
{ "editor.fontFamily": "Liberation Mono", "editor.fontSize": 11, "editor.autoClosingBrackets": false, "editor.renderWhitespace": "boundary", "editor.insertSpaces": false, "editor.detectIndentation": true, "editor.renderIndentGuides": true, "editor.formatOnType": true, "editor.formatOnPaste": true, "editor.trimAutoWhitespace": true, "editor.codeLens": false, "terminal.integrated.fontFamily": "Liberation Mono", "terminal.integrated.fontSize": 10 , // Migrated from previous "File | Auto Save" setting: "files.autoSave": "afterDelay", "files.autoSaveDelay": 2000, "path-intellisense.showHiddenFiles": true, "path-intellisense.autoSlashAfterDirectory": true, "typescript.disableAutomaticTypeAcquisition": true, "window.zoomLevel": 0, "git.path": "/usr/local/bin/git", "workbench.colorTheme": "Visual Studio Dark", "workbench.iconTheme": "vs-nomo-dark", "[cpp]": { "editor.quickSuggestions": false }, "[c]": { "editor.quickSuggestions": false } }Copied from original issue: DonJayamanne/pythonVSCode#921