-
Notifications
You must be signed in to change notification settings - Fork 93
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
VSCode eats argument names from popup documentation #1343
Comments
Same is happening to me. |
For me it's been like this for over a year. Basically, everything marked with a |
@signed-log, could you share the example playbook to reproduce this in the local environment? |
I've got the very same problem, so I might provide with the info you need to reproduce @priyamsahoo : Expected outcomeLike the official collection docs (it's the same source): VS Code Version
Enabled VS Code ExtensionsDetails
Settings filesettings.json
{
"redhat.telemetry.enabled": false,
"terminal.integrated.enableMultiLinePasteWarning": "never",
"terminal.integrated.detectLocale": "on",
"settingsSync.ignoredExtensions": [
"ms-vscode-remote.remote-wsl"
],
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Seti Modified",
"files.associations": {
"*.yml": "ansible",
"*.yaml": "ansible",
"*.md": "ansible"
},
"editor.tokenColorCustomizations": {
"comments": "#1cce16"
},
"keyboard.dispatch": "keyCode",
"files.insertFinalNewline": true,
"security.workspace.trust.untrustedFiles": "open",
"javascript.preferences.quoteStyle": "single",
"[python]": {
"diffEditor.ignoreTrimWhitespace": false,
"editor.formatOnType": true,
"editor.wordBasedSuggestions": "off",
"editor.defaultFormatter": "ms-python.black-formatter"
},
"[xml]": {
"editor.defaultFormatter": "redhat.vscode-xml"
},
"explorer.confirmDragAndDrop": false,
"workbench.colorCustomizations": {
"[Seti Modified]": {
"commandCenter.border": "#00a2ff",
"commandCenter.activeBackground": "#1d42bd",
"commandCenter.background": "#1d42bd",
"commandCenter.activeForeground": "#d9ff00",
"commandCenter.inactiveForeground": "#d9ff00",
"commandCenter.foreground": "#d9ff00",
},
},
"window.title": "${dirty}${folderName}",
"explorer.compactFolders": false,
"emmet.includeLanguages": {
"jinja2": "html",
"jinja-html": "html",
"django-html": "html",
},
"editor.hover.delay": 1000,
"[markdown]": {
"editor.defaultFormatter": "yzhang.markdown-all-in-one"
},
"terminal.integrated.drawBoldTextInBrightColors": true,
"editor.renderFinalNewline": "on",
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"terminal.integrated.fontFamily": "'RobotoMono Nerd Font'",
"[ansible]": {
"editor.detectIndentation": true,
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.quickSuggestions": {
"comments": true,
"other": true,
"strings": true
},
"editor.autoIndent": "advanced",
"editor.defaultFormatter": "redhat.ansible",
"editor.defaultFoldingRangeProvider": "redhat.ansible"
},
"ansible.completion.provideRedirectModules": true,
"ansible.executionEnvironment.enabled": true,
"ansible.executionEnvironment.volumeMounts": [
{
"src": "/home/jordi/.ssh/",
"dest": "/runner/.ssh/",
"options": "ro"
},
{
"src": "/home/jordi/.ansible/",
"dest": "/runner/.ansible/",
"options": "rw"
}
],
"ansible.executionEnvironment.containerEngine": "docker",
"ansible.lightspeed.enabled": false,
"ansible.executionEnvironment.pull.policy": "always",
"ansible.executionEnvironment.image": "xxxxxxxxxxxxxxxxxx",
"workbench.settings.applyToAllProfiles": [
"terminal.integrated.drawBoldTextInBrightColors",
"ansible.ansible.path",
"ansible.python.interpreterPath",
"ansible.ansibleNavigator.path",
"ansible.validation.lint.path",
"ansible.executionEnvironment.enabled",
"ansible.executionEnvironment.containerEngine",
"ansible.executionEnvironment.image",
"ansible.executionEnvironment.pull.arguments",
"ansible.executionEnvironment.pull.policy",
"editor.defaultFoldingRangeProvider",
"editor.defaultFormatter",
"notebook.defaultFormatter",
"[ansible]",
"ansible.executionEnvironment.volumeMounts",
"ansible.validation.lint.arguments",
"ansible.executionEnvironment.containerOptions"
],
"terminal.integrated.minimumContrastRatio": 7,
"editor.largeFileOptimizations": false,
"diffEditor.ignoreTrimWhitespace": false,
"cSpell.language": "en,ca",
"diffEditor.useInlineViewWhenSpaceIsLimited": false,
"settingsSync.ignoredSettings": [
"-ansible.ansible.path",
"-ansible.ansible.reuseTerminal",
"-ansible.python.interpreterPath",
"-ansible.python.activationScript",
"-ansible.ansibleNavigator.path",
"-ansible.validation.lint.path"
],
"ansibleServer.trace.server": "verbose",
"editor.defaultFoldingRangeProvider": "redhat.ansible",
"editor.defaultFormatter": "redhat.ansible",
"notebook.defaultFormatter": "standard.vscode-standard"
} Ansible PlaybookDetails
---
- name: Test playbook
hosts: localhost
tasks:
- name: Set up cronjob to run docker system prune
ansible.builtin.cron:
name: "Docker system prune 30 days"
minute: 0
hour: 6
job: "docker system prune -af --filter 'until=720h'"
tags: cron-docker-prune Ansible language server trace(Appears on the "output" widget when hovering onto an element) Details
Ansible & Python versionsDetails
$ bash-4.4$ ansible --version
ansible [core 2.15.11]
config file = /home/jordi/MyStuff/repos/gitlab/ajuntament_de_terrassa/ansible-v2/ansible.cfg
configured module search path = ['/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.11/site-packages/ansible
ansible collection location = /runner/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/local/bin/ansible
python version = 3.11.7 (main, Jan 26 2024, 19:22:20) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3)
jinja version = 3.1.4
libyaml = True OS / EnvironmentDetails
$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy |
Summary
VSCode eats argument names from popup documentation
Extension version
v24.5.2
VS Code version
1.90.0-insider
Ansible Version
OS / Environment
Debian 12, both using
Remote: SSH
and localRelevant log output
No response
The text was updated successfully, but these errors were encountered: