Visual studio 2022高亮汇编(ASM)语法方法

Visual studio 2022高亮汇编(ASM)语法方法

1)下载usertype.zip,解压,解压后的文件是usertype.dat。

2) 关闭vs2022.

3) 复制Usertype.zip 到vs2022安装路径 C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE.

在复制前,windows会发出确认信息。

4) 打开VS2022,选择工具菜单中的"选项 ",选择文本编辑器 ,选择文件扩展名 。在键入asm 文件作为扩展名,Editor 选择 Microsoft Visual C++ ,然后点击添加

5)重启 Visual studio 2022

select Options from the Tools menu, select Text Editor , and select File Extension.

On the right side of the dialog (shown below), enter asm as the extension, select Microsoft Visual C++ from the Editor list, and click the Add button. Click the OK button to save your changes.

Open your project and display an ASM file. You should see syntax highlighting in the editor. There is a glitch in the highlighting--assembly language comment line starts start with a semicolon, which C++ doesn't recognize. But this is a simple workaround: add an extra // right after the semicolon, like this, which will cause the comments to appear in their usual green color:

;// AddTwo.asm - adds two 32-bit integers.

;// Chapter 3 example

相关推荐
洛克大航海3 小时前
Python 在系统 Windows 和 Ubuntu 中创建虚拟环境
windows·python·ubuntu·虚拟环境
__雨夜星辰__3 小时前
VScode免密远程连接到Ubuntu(VMware17环境)虚拟机
ide·vscode·ubuntu
ZEERO~3 小时前
@dataclass的作用
开发语言·windows·python
雪域迷影3 小时前
Windows11上安装Redis服务和Redis可视化客户端
windows·redis
广然3 小时前
Windows 11 关闭 VBS 的几种方法
windows·ensp·vbs
不染尘.3 小时前
Linux基本概述
linux·windows·centos·ssh
痞老板23 小时前
【Cmder】VSCode设置Cmder为内置终端
ide·vscode·编辑器
郑泰科技4 小时前
快速地图匹配(FMM)的开源工具与代码示例
c++·windows·python·交通物流
WALKING_CODE4 小时前
Anaconda安装完成后启动Jupyter报错,解决方法
ide·python·jupyter
stevenzqzq4 小时前
Android Studio 断点调试异常相关选项总结
android·ide·android studio