在版本17.3.0预览2.0上禁用弹出信息

发布于 2025-02-13 08:27:01 字数 665 浏览 1 评论 0原文

将VS更新为17.3.0 Preview 2.0版本后,我有一个来自VS的弹出信息,我想将其禁用,我不知道该如何(而且我不知道要问Google有什么问题)。如果有人知道或与类似问题有链接,我将非常感谢。

(不好意思我不能放置屏幕,我没有声誉点)

disable :template(模板:“ [action]/.....) 值(ok(value:product)

[Route(template: "[action]/{category}", Name ="GetProductByCategory")]
[HttpGet]
[ProducesResponseType(StatusCodes.Status200OK)]
public async Task<ActionResult<IEnumerable<Product>>> GetProductByCategory(string category)
    {
        var products = await _productRepo.GetProductByCategory(categoryName: category);
        return Ok(value: products);
    }

ty u。

After i updated my VS to Version 17.3.0 Preview 2.0, i have a pop up info from VS and i want to disable it and i don't know how(and i don't know what question to ask google). If anyone knows or have a link to a similar question i will really appreciate.

(to bad i can't put a printscreen, i don't have reputation points)

Disable: template (template: "[action]/ .....)
value (Ok(value: products))

[Route(template: "[action]/{category}", Name ="GetProductByCategory")]
[HttpGet]
[ProducesResponseType(StatusCodes.Status200OK)]
public async Task<ActionResult<IEnumerable<Product>>> GetProductByCategory(string category)
    {
        var products = await _productRepo.GetProductByCategory(categoryName: category);
        return Ok(value: products);
    }

Ty u.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

蓝礼 2025-02-20 08:27:01

它被称为“查看内联提示”,我在链接上找到了它:

https:> https:https:// https:https://youtu.be/wcmb3v7nxms? t = 398

用于快速查看(如果是禁用),请按 alt + f1 (在Windows上)。

对于永久视图:工具→选项→文本编辑器→C#→高级→(一直向下滚动),并启用“显示内联参数名称提示”

It's called "Viewing inline hints" and I found it at link:

https://youtu.be/WCMb3V7nxms?t=398

For quick view (if it's disable) press ALT + F1 (on windows).

For permanent view: Tools → Options → Text Editor → C# → Advanced → (scroll all the way down) and Enable "Display inline parameter name hints"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文