Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete current statement does not work in the latest version of vscode #175

Open
xiaoxidashen opened this issue Apr 3, 2020 · 2 comments

Comments

@xiaoxidashen
Copy link

When I press "ctrl shift enter" after "System.out.println (" hello ")", the semicolon cannot be completed automatically

@srdubya
Copy link

srdubya commented Apr 11, 2020

Steps:

  1. Open Python file
  2. Type: if string[0:len(sub_word)] == sub_word
  3. Type: cmd-shift-return

Results: New-line with cursor indented at i in if above.

Expected results:

  1. Append a :
  2. New-line with cursor indented at t in string above

Environment:

Version: 1.44.0
Commit: 2aae1f26c72891c399f860409176fe435a154b13
Date: 2020-04-08T08:23:56.137Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.4.0

@kasecato kasecato self-assigned this Apr 17, 2020
@kasecato kasecato changed the title Does not work in the latest version of vscode Complete current statement does not work in the latest version of vscode Feb 18, 2024
@kasecato
Copy link
Owner

kasecato commented Feb 18, 2024

VS Code cannot support statement commands, which are processed differently in each language, by default
If supported by the Language Server Protocol (extendedClientCapabilities), it's possible to bind keys by language in the future

  • ctrl+shift+enter
    • Complete Current Statement

related with #169

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants