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

自动补全功能提示不完美 #212556

Open
SpecialUserFull opened this issue May 12, 2024 · 2 comments
Open

自动补全功能提示不完美 #212556

SpecialUserFull opened this issue May 12, 2024 · 2 comments
Assignees
Labels
*english-please Issue not using English info-needed Issue requires more information from poster translation-required-chinese-simplified

Comments

@SpecialUserFull
Copy link

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.89.1
  • OS Version: Windows 7 旗舰版 SP1

Steps to Reproduce:
当函数声明注释格式为:
/*-----------------------------------------------------

  • 函数功能:
  • 传入参数:
  • 返回参数:
  • 其他说明:
    ------------------------------------------------------*/
    1、注释语句中“+ 函数功能”第一个字符使用“+”或“-”,自动提示功能显示格式为类似Word文档提纲式(大纲式),且“+”或“-”后面的空格不能完美体现;
    2、注释语句中“+ 函数功能”第一个字符使用“#”时,字体全部变为黑体,且字号变得很大。
    3、使用其他字符时,后续的空格也不能完美体现。

2
1
4
3
6
5

@VSCodeTriageBot
Copy link
Collaborator

感谢您创建此问题!

然而,由于您没有使用英语,我们很难进行处理。如果可能,请您将此问题描述修改为英文。请您直接编辑此问题,不要提交回复或新问题。

请注意,机器翻译服务通常无法处理用于讨论软件问题所需的技术性语言,所以我们推荐您寻找一位熟悉相关技术的人来协助翻译。

如果您无法做到,没有关系。此问题已经被标记为需要翻译,等待社区成员志愿进行翻译。


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.

@VSCodeTriageBot VSCodeTriageBot added the info-needed Issue requires more information from poster label May 12, 2024
@Origami404
Copy link

@SpecialUserFull 您好, 该效果是因为 VSCode 默认使用 Markdown 语法来展示注释. 在 Markdown 中, # 用于表示标题, - 用于表示无序列表, + (可选地) 亦用于表示列表, 这些标志会忽略后续的空白, 直到第一个非空白字符.


比如下面的文本内容在被解释为 Markdown 时, 效果如下所示:

#    这是一个标题

+  列表项01
+    列表项02

- 列表项11
-    列表项12

这是一个标题

  • 列表项01
  • 列表项02
  • 列表项11
  • 列表项12

对于您的问题, 我推荐您修改您项目中代码的注释使其符合 Markdown 语法, 或是寻找某个选项使 VSCode 不再按 Markdown 语法解释注释内容并展示.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
*english-please Issue not using English info-needed Issue requires more information from poster translation-required-chinese-simplified
Projects
None yet
Development

No branches or pull requests

4 participants