Suggested code should use formatting preferences of the editor
vanowm opened this issue · comments
please complete the following information:
- OS version: Windows_NT x64 10.0.19045
- Editor: vscode
- Editor version: 1.81.1
- Programming language: js
- TabNine extension version: 3.8.4
- Engine version (could be located within Tabnine Hub): 4.5.28-60
Issue Details:
The suggested code does not obey formatting preferences, i.e. indentation as tabs, opening brackets on new line, etc
gz#26154
(related to Zendesk ticket #26154)
@vanowm
Can you please send us an example? (Screenshot/video)
Can you please try and update your Tabnine version?
So far after every accepted suggestion I had to reformat the code.
In the example tabnine pro
inserts code with spaces as indentation, while the editor and file itself set for tabs.
I do have eslint
setup up for the project and .eslintrc.json
is in the root of the workspace.
All extensions are up-to date, in fact tabnine
is set to receive beta updates too.
All tabnine
settings are default, except for:
"tabnine.experimentalAutoImports": true,
"tabnine.receiveBetaChannelUpdates": true,
The tabnine output
log shows this when suggested code shown/added to the editor:
[4] [2023-08-31:06:29:55 TabNine.exe ERROR] failed to resolve path '/z:/test': The filename, directory name, or volume label syntax is incorrect.
; class=Os (2); code=NotFound (-3)
[4] [2023-08-31:06:29:58 TabNine.exe ERROR] Error while fetching messages. reqwest::Error { kind: Decode, source: Error("EOF while parsing a value", line: 1, column: 0) }
[4] [2023-08-31:06:30:01 WD-TabNine.exe INFO] watching new process 39980-TabNine-deep-local.exe
[4] [2023-08-31:06:32:31 TabNine.exe INFO] creating enrichment for language JavaScript - using: default enrichment
Thanks for reporting. I will add it to our backlog.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Well, that's kind of stupid if issues being closed due to inactivity...seriously???
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Ok, which one is it? wontfix or completed? It's definitely not fixed.