Line ending error on DACs in higher version of Visual Studio - acumatica

before, we use Visual studio 2013 and acumatica works fine but now we use Visual studio 2017 and opening the solution detects all DAC's line ending have unexpected characters, blank line endings that hinders building the project.
please see attached photo
https://1drv.ms/i/s!Anz1GGZnZ-16gmnnqeZ_p1fs1Job

I have seen that occur if you use the Acumatica DAC generate class tool in visual studio.
To fix you delete all spaces/characters at the end of the file back to the ending namespace bracket "}" and save. Not sure what it adds to the cs file but I have seen this before and perform the step I listed above after each generate class.

Related

How to save dart file in file system with android studio generated comments?

I like how Android Studio and Visual Studio , generate the comments for each closing brackets, but when I open the same file in notepad++ or any other text editor, I don't see those comments. Is there a way to generate the saved dart file so it has those comments stored as part of the text code( in comment) ?
Here is one code example that how code looks in android studio.
but when opened with notepad it does not have the comment MaterialApp. I am guessing there is some settings in android studio that will let me save file with generated comments, so it can be useful outside of Android studio like in git etc.
These comments are generated "on the fly" by the Flutter plugin for Android Studio. At no time, these comments are inserted into your source files. They are just shown within the IDE. So I think there is no way to "export" these comments.

Visual Studio Less formatting, Intellisense/Errors

I am using Visual Studio 2012 and use LESS for my CSS. The problem I am having is that my page was the red squiggly line under every comment that starts with 2 forward slashes "//", which is a valid way to add comments in LESS. Visual Studio is adding these red lines all over the page when I know for certain everything on the page is valid. So it is not recognizing LESS properly. I have installed the Web Essentials extension, but this doesn't fix the issue. Is there another extension I can use, or something that I can install with Visual Studio that will do a better job validating the page?

Show file type icons on tabs on visual studio 2012

I wass looking for quite some time now how I could see the file type icon of each file I have opened in visual studio 2012 tab well, like it was shown on previous versions of visual studio. This was completely removed from vs 12, couldn't find any option enabling this. This is something extemely usefull when having many open files.
I found that this option exists on the registry!
So you go here:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\DialogPage\Microsoft.CustomDocWell.Options
and change the IconInTabs property from false to True!
File type icons are displayed again next to each tab!!!!
Edit: In order for this to work you must have installed Productivity Power Tools 2012 plugin

How do I get line ending glyphs in Visual Studio 2012?

Is there any way to get line ending glyphs in Visual Studio 2012?
The following screen shot (from notepad++) show what I want (the CR LF part):
You might want to check out this extension: End of The Line by Rolf W. Rasmussen. The current binary version displays CR and LF identifiers at the end of the line all the time, but the source version ties it into VS's "View Whitespace" menu option.
It's for Visual Studio 2013, but it's open source and should be fairly straightforward to recompile as a VS2012 compatible plugin
(You might need to change the references - the VSSDK packages on nuget can be really useful here. You'd need VSSDK.CoreUtility and VSSDK.Text. In fact, that might be worth a PR regardless...)
Nope, Visual Studio has no feature to show End of Line Markers. (Reference)
But it gives the ability to show Whitespace with (Ctrl + E + S) which is adressed here.
If any incosistencies are included, VS should suggest to fix the document automatically.
But if you need to do actions other than that, I recommend using notepad++ as described by Hanselman here
If you think Visual Studio should include this feature, you better vote for this request
Edit:
By the way, VS shows glyphs for wrapped words by enabling through:
Tools -> Options -> Text Editor -> All Languages -> Show visual glyphs for word wrap
Like:

How to highlight occurrences of a search term in text in Visual Studio 11 / 2012?

How to highlight occurrences of a search term in text in Visual Studio 11 / 2012? There are solutions in VS 2010 and 2008, any one know of one for VS2012?
The fix mentioned in the solution is to download the SelectionHighlight.vsix file then.
Change the Extension to .zip
Open the zip file and edit the manifest file in a text editor.
Change the Visual Studio Version attribute to 11.
After saving the file back into the zip, change the extension back to .vsix
Just move forward with installing the file and you are set.
okay... just checked a plugin for VS2010 and they have a "Fix" for 2012. Check the Q and A here: http://visualstudiogallery.msdn.microsoft.com/4b92b6ad-f563-4705-8f7b-7f85ba3cc6bb

Resources