vscode-R icon indicating copy to clipboard operation
vscode-R copied to clipboard

Existing brackets are ignored when function is autocompleted

Open gowerc opened this issue 2 years ago • 0 comments

Apologies this may likely be an issue for the language-server but I wasn't sure where to post it as its vscode specific.

As an aside would be keen to hear if others experience this issue or if its just me as I was surprised that I couldn't find any existing issue for it.

Describe the bug If you auto complete a function that has existing brackets then they are ignored and new ones are inserted e.g.

2023-10-18 11 21 11

To Reproduce See above Gif

Can you fix this issue by yourself? (We appreciate the help) No

(If yes,) can we assist you with anything?

(If applicable) Please attach setting.json

    "r.alwaysUseActiveTerminal": true,
    "r.liveShare.defaults.shareWorkspace": false,
    "r.lsp.promptToInstall": false,
    "r.session.objectTimeout": 10,
    "r.session.useWebServer": true,
    "r.sessionWatcher": true,

Expected behavior No new brackets should be inserted

Environment (please complete the following information):

  • OS: macOS (13.3.1)
  • VSCode Version: 1.83.1
  • R Version: 4.3.1
  • vscode-R version: 2.8.2

Additional context Add any other context about the problem here.

gowerc avatar Oct 18 '23 10:10 gowerc