简体   繁体   English

在Visual Studio中显示asm语法高亮显示和asm文件

[英]asm syntax highlight AND asm file display in visual studio

I am trying to do some assembly coding, I call the functions from C language. 我正在尝试进行一些汇编编码,我从C语言中调用了函数。 The code itself runs fine, but I have two enormous problems that I cannot to tackle for quite a long time now. 代码本身运行良好,但是我有两个很大的问题,我现在已经无法解决很长一段时间了。 First of them is syntax-highlighting - I installed two different (one at the time) asm highlighting extensions to visual studio 2015 enterprise, both of them didn't work. 首先是语法突出显示-我安装了两个不同的(当时是一个)asm来突出显示Visual Studio 2015 Enterprise的扩展,但两个都不起作用。 Before I installed the 2015 version I had 2013 Ultimate and the highlighting worked fine there. 在安装2015版本之前,我安装了2013 Ultimate,突出显示效果很好。 I tried to delete specific files responsible from registry etc but it didn't help me achieve absolutely anything. 我试图从注册表等中删除负责的特定文件,但这并没有帮助我实现任何目标。 Tried to reinstall or update the extensions is well. 试图重新安装或更新扩展很好。

Another problem I have is something that pretty much started happening for first time 3 hours ago, in a solution when I have an asm file it is fine, I can edit it freely, run it, whatever. 我遇到的另一个问题是3个小时前第一次开始发生一些事情,在一个解决方案中,当我拥有一个asm文件时,我可以自由编辑,运行它,无论如何。 But once I switch off visual studio and run it again in the moment when I try to open the asm file in visual studio the file is no longer in clean assembly but in OP codes written in hexadecimal and along it there is list of the memory cell in which each op is in... When I make new asm file in the solution it is fine but once I restart visual studio same thing happens. 但是,一旦我关闭Visual Studio并在尝试在Visual Studio中打开asm文件的那一刻再次运行它,该文件就不再是干净的程序集,而是用十六进制编写的OP代码,并且沿着该文件有存储单元的列表每个操作都在其中...当我在解决方案中创建新的asm文件时,这很好,但是一旦我重新启动Visual Studio,就会发生同样的事情。 I tried to look through all the common options in the top menu bar but there seems not to be anything helpful to me in this situation.... 我试图浏览顶部菜单栏中的所有常用选项,但在这种情况下似乎对我没有任何帮助。

Desperately I tried to google both of those things (first one for quite extended period of time) but it seems like some of the problems I have encountered could possibly be related to 2015 enterprise version of visual studio :( 拼命地我试图用谷歌搜索这两个东西(第一次是在相当长的一段时间内),但似乎我遇到的一些问题可能与Visual Studio 2015企业版有关:(

EDIT// OK I MANAGED TO FIX THE SECOND PROBLEM - right click the .asm file and use Open With and choose another editor!!! 编辑//好的,我已经解决了第二个问题-右键单击.asm文件,然后使用“打开方式”并选择另一个编辑器! Help please ;( 请帮助 ;(

AsmDude will not work when .asm files are associated with an editor (see this issue here ). 当.asm文件与编辑器关联时,AsmDude将不起作用(请参阅此处的问题)。 If you still experiencing problems with AsmDude, consider opening an issue on Github. 如果您仍然遇到AsmDude的问题,请考虑在Github上打开一个问题。 I'm happy to help you there. 很高兴为您提供帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM