microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.21k stars 28.86k forks source link

definição errada na configuração de newline #159425

Closed vieiraes closed 2 years ago

vieiraes commented 2 years ago

Type: Bug

em Portugues...

na configuração de insert final newline, ao marcar a caixa, o comportamente é que NAO É inserido uma nova linha ao salvar o arquivo. ou seja, o comportamento é o inverso do que está declarado no checkbox, onde diz que ao marcar É INSERIDO uma nova linha no final do código

VS Code version: Code 1.70.2 (e4503b30fc78200f846c62cf8091b76ff5547662, 2022-08-16T05:36:25.715Z) OS version: Linux x64 5.15.0-46-generic Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz (8 x 3300)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|1, 1, 1| |Memory (System)|15.24GB (0.30GB free)| |Process Argv|--unity-launch --crash-reporter-id 2613244b-fb5b-44bf-b2e7-8bf5fc6b7271| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|ubuntu| |XDG_CURRENT_DESKTOP|Unity| |XDG_SESSION_DESKTOP|ubuntu| |XDG_SESSION_TYPE|x11|
Extensions (77) Extension|Author (truncated)|Version ---|---|--- project-manager|ale|12.6.1 jest-snippets|and|1.9.1 gitlab-pipeline-monitor|bal|2.0.0 node-snippets|chr|1.3.3 npm-intellisense|chr|1.4.2 path-intellisense|chr|2.8.1 vscode-postgresql-client2|cwe|5.3.3 vscode-redis-client|cwe|5.7.2 dart-code|Dar|3.46.1 npm-browser|den|1.1.3 docs-images|doc|0.0.10 docs-yaml|doc|0.2.8 gitlens|eam|12.1.2 vscode-html-css|ecm|1.13.1 EditorConfig|Edi|0.16.4 vscode-npm-script|eg2|0.3.28 vscode-express-snippets|Exp|1.1.1 vscode-jest-runner|fir|0.4.53 docker-explorer|for|0.1.7 docker-extension-pack|for|0.0.1 copilot-labs|Git|0.2.221 vscode-pull-request-github|Git|0.48.1 gitlab-workflow|Git|3.48.1 vscode-graphql-syntax|Gra|1.0.4 todo-tree|Gru|0.0.215 vscode-mocha-test-adapter|hbe|2.14.1 vscode-test-explorer|hbe|2.21.1 vscode-drawio|hed|1.6.4 docker-linter|hen|0.5.0 rest-client|hum|0.25.1 vscode-postfix-ts|ipa|1.10.1 search-node-modules|jas|1.3.0 plantuml|jeb|2.17.3 js-index|joo|0.3.5 vscode-dependency-cruiser|jua|0.0.1 solidity|Jua|0.0.139 k6|k6|0.5.1 vscode-jest-test-adapter|kav|0.8.1 vscode-language-babel|mgm|0.0.36 git-graph|mhu|1.30.0 dotenv|mik|1.0.1 snippets-for-k6|mJa|1.0.1 mongodb-vscode|mon|0.9.3 vscode-docker|ms-|1.22.1 vscode-language-pack-pt-BR|MS-|1.70.8170916 kind-vscode|ms-|0.0.3 vscode-kubernetes-tools|ms-|1.3.10 test-adapter-converter|ms-|0.1.6 vscode-typescript-next|ms-|4.9.20220828 vscode-typescript-tslint-plugin|ms-|1.3.4 vsliveshare|ms-|1.0.5695 vscode-json-editor|nic|0.3.0 vscode-extension-auto-import|Nuc|1.4.3 docker-compose|p1c|0.3.5 material-icon-theme|PKi|4.20.0 tsimporter|pmn|2.0.1 prisma|Pri|4.2.0 prisma-insider|Pri|31.0.1355 typescript-hero|rbb|3.0.0 java|red|1.9.0 vscode-yaml|red|1.9.1 LiveServer|rit|5.7.5 code-settings-sync|Sha|3.4.3 es6-mocha-snippets|spo|0.2.2 move-ts|str|1.12.0 tabnine-vscode|Tab|3.6.14 intellicode-api-usage-examples|Vis|0.2.1 vscodeintellicode|Vis|1.2.23 vscode-java-debug|vsc|0.43.0 vscode-java-dependency|vsc|0.21.0 vscode-java-pack|vsc|0.25.0 vscode-java-test|vsc|0.36.0 vscode-maven|vsc|0.37.0 vscode-icons|vsc|11.16.0 vscode-import-cost|wix|3.3.0 JavaScriptSnippets|xab|1.8.0 markdown-all-in-one|yzh|3.4.3 (8 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonvspyt551:30345470 pythonptprofiler:30281270 vsdfh931:30280409 vshan820:30294714 vstes263:30335439 vscoreces:30445986 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30542924 vsaa593:30376534 pythonvs932:30410667 wslgetstarted:30449410 cppdebug:30492333 pylanb8912:30545647 vsclangdf:30486550 c4g48928:30535728 hb751961:30553087 dsvsc012cf:30540253 azure-dev_surveyone:30548225 2144e591:30553903 ```
VSCodeTriageBot commented 2 years ago

Obrigado por criar essa questão!

No entanto, como a descrição não está em inglês, é difícil para nós trabalharmos nisso. Se você for capaz, por favor, edite esta edição para estar em inglês. Por favor, não adicione um novo comentário ou crie um novo problema, mas sim edite o problema existente.

Infelizmente, os serviços de tradução automática não são capazes de lidar com a linguagem técnica necessária para se comunicar efetivamente sobre problemas de software, por isso recomendamos encontrar um tradutor humano que esteja familiarizado com nossa tecnologia para ajudar a traduzir.

Caso contrário, esta questão foi marcada como necessidade de tradução e um membro da comunidade pode ser capaz de ajudá-lo a traduzi-lo.


Thanks for creating this issue!

Unfortunately, as the description is not in English, it's hard for us to work on. If possible, please edit the original issue to be in English.

In our experience, automatic translation services are not able to handle the technical language needed to effectively communicate about software issues, so we recommend finding a human translator who is familiar with our technology to help.

Otherwise, we have marked this as needing translation and a community member may be able to help out.

weinand commented 2 years ago

Deepl's translation:

in the "insert final newline setting", when checking the box, the behavior is that NO newline is inserted when saving the file. i.e., the behavior is the opposite of what is declared in the checkbox, where it says that when checking it, a newline is inserted at the end of the code

bpasero commented 2 years ago

/gifPlease

VSCodeTriageBot commented 2 years ago

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.

If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette).

Happy coding!

VSCodeTriageBot commented 2 years ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!