Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 ASP.NET Razor Comment Support

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Phil Hartmann Posted - Feb 25 2013 : 06:43:06 AM
I've added .cshtml into the keys as described by, and rebuilt the DB
http://docs.wholetomato.com?W353

But when I surround code and hit / it simply replaces the selection with /. in .aspx files it surrounds it with <!-- or /* */ based on if its in a script or a HTML section..

Is there anyway to get the comment surround to function in .cshtml files as well?
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Feb 26 2013 : 11:31:09 AM
Apologies for the colouring question, it turns out it was not a very good thing to check. Are you seeing any sign of the VA context and navigation fields? These are normally at the top of the editor window. I am not seeing them here, testing VS2012 with VA 1929.

The IDE knows about this file extension, although its not one I recognise myself. I am not sure why VA is not active after adding this extension to the registry, I have put in a bug report for this:

case=72670
Phil Hartmann Posted - Feb 25 2013 : 2:42:34 PM
-Which language / extension key did you add .cshtml to?:
ExtAsp
-Which IDE and version of VA are you using?:
VS2012 / 10.7.1925.0
-Is VA active, and applying syntax highlighting in your .cshtml files?:
Unsure how to tell the difference between VA's highlighting and VS's syntax highlighting.
feline Posted - Feb 25 2013 : 11:35:53 AM
Which language / extension key did you add .cshtml to?

Which IDE and version of VA are you using?

Is VA active, and applying syntax highlighting in your .cshtml files?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000