Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 757e092

Browse files
committed
2 parents eab19c4 + beaac59 commit 757e092

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

LICENSE

-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
SOFTWARE.
22-
<<<<<<< HEAD
23-
=======
24-
25-
>>>>>>> 9109fe02f8f283de4e481528c428c78c846537db

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ If you're working in a [virtualenv](https://virtualenv.readthedocs.org/), you ca
114114

115115
## Change Log
116116

117+
### Version 0.3.9
118+
* Fixed auto indenting issues [#137](https://github.com/DonJayamanne/pythonVSCode/issues/137)
119+
117120
### Version 0.3.8
118121
* Added support for linting using prospector [#130](https://github.com/DonJayamanne/pythonVSCode/pull/130)
119122
* Fixed issue where environment variables weren't being inherited by the debugger [#109](https://github.com/DonJayamanne/pythonVSCode/issues/109) and [#77](https://github.com/DonJayamanne/pythonVSCode/issues/77)

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"name": "python",
33
"displayName": "Python",
44
"description": "Linting, Debugging (multi-threaded, remote), Intellisense, auto-completion, code formatting, snippets, and more.",
5-
"version": "0.3.7",
5+
"version": "0.3.9",
66
"publisher": "donjayamanne",
7-
"license": "SEE LICENSE IN LICENSE or README.MD",
7+
"license": "MIT",
88
"homepage": "https://github.com/DonJayamanne/pythonVSCode/blob/master/README.md",
99
"repository": {
1010
"type": "git",

src/client/extension.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function activate(context: vscode.ExtensionContext) {
4444
vscode.languages.setLanguageConfiguration(PYTHON.language, {
4545
onEnterRules: [
4646
{
47-
beforeText: /^(?:def|class|for|if|elif|else|while|try|with|finally).*?:\s*$/,
47+
beforeText: /^\s*(?:def|class|for|if|elif|else|while|try|with|finally).*?:\s*$/,
4848
action: { indentAction: vscode.IndentAction.Indent }
4949
}
5050
]

0 commit comments

Comments
 (0)