如何在注释中使用文件引用 - 基地址?占位符? [英] How to use file references in comments - base address ? placeholder?

查看:19
本文介绍了如何在注释中使用文件引用 - 基地址?占位符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在 Visual Studio 源代码中输入 file://someDir/image.pngcomment(2012 年,c#,就此而言),我猜是相对路径.那么什么是基地址呢?例如,有没有办法将当前项目设置为基地址(或者甚至使用某种占位符,例如 %PROJECT% 或类似的东西)?

When I type file://someDir/image.png in Visual Studio source code comment (2012, c#, for that matter), I guess it's a relative path. So what is the base address? is there a way to set, for instance, current project as the base address (or even use some kind of placeholder like %PROJECT% or something similar) ?

我想用图像来解释复杂的想法,比如:

I want to use image to explain complicated idea, like:

//看看:file://ThisExplainsItBetter.png

推荐答案

ImageComments Visual 扩展Studio 可以显示图像并使用相对路径.

ImageComments extension for Visual Studio can display images and use relative paths.

这篇关于如何在注释中使用文件引用 - 基地址?占位符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆