I had a power outage and while I am certain I saved my work recently something did go wrong. The xsd file I was editing in the Designer mode no longer opens in designer, when I double click it, I get the xml of it. Strangely enough any other xsd I open opens perfectly as design-view. Resetting VS settings doesn't seem to help, can it be something in my project?
goto your Solutions Explorer.
right click the dataset you are trying to open up.
Click "Open With"
you should get a dialog box come up, select "Dataset Editor" and press ok.
From here on you should be all set again.
Steve
The fastest way I could think of that would fix this problem, is to exclude that xsd(and its dependants) from the project, then in explorer delete all the files that have the same name as the xsd but not the xsd itself. Then add the xsd file back to project in Visual Studio and it will work fine again. The only downside is that it rearranges the visual aspect of the xsd :/
Hope it helps someone.
Look in the Error window and see if you have any errors, warnings, or messages about the XML. Also look in the Output window to see if there are any complaints.
SOLVED!
I edit the .cs file under of .xsd file. Edit this file and erase all. that's it, works for me.
Related
I cannot open my excel file, for which I clicked view > checked "hide" when I had the file open previously.
As soon i did that, the file stopped displaying. Every time I click the file, Excel software starts running, so I don't think there is anything wrong with the software itself, just a problem with this specific file. All the other excel files would open when I click them, except this one.
I am using a macboook pro.
Could anyone please help me how to undo the action I did? Thank you.
The view-hide literally hides the file from being seen when opened and I didn't know that....
It's an interface problem using Android Studio.
Like any other multiple tab application, using Ctrl+F4 to close the current window/ file gets you back to the previous one.
For example, if i edit MainActivity.java and switch to activity_main.xml I'm used to the behavior that when I click Ctrl+F4 to close the activity_main.xml it goes back to the previous file which is MainActivity.java but for some reason (even after I changed the keymap to Visual Studio) it goes back to a random file.
Does anyone know how to change this behavior?
Before you answer
I'm not looking for shortcut key to reopen last opened window.
The file is still opened, i'm just looking for the regular behavior that the focus will go to the last file automatically after closing file.
File > Settings > Editor > General > Editor Tabs > When closing active editor > Activate most recently opened tab
UPDATE: Consider the other answer first.
Okay, I've understood what you're trying to achieve. You want IDE to track the context in real-time. I think that is not present currently. I would first ask in the JetBrains IDEA Community Forum and then go ahead and open a Feature-request on the IntelliJ IDEA issue tracker. They actually respond quite fast.
Good Luck!
P.S. Android Studio, in fact, uses IntelliJ IDEA underneath
I have created an new UIMap in my project. I was able to work with it day before this error appeared. Now, when I right click on the new UIMap in VS (Visual Studio) and Click "Edit With Coded UI Test Builder" option - above error pops up.
I tried starting VS as admin, editing the .uitest file in the project folder (bad practice even if you know what you're doing) and saving it (it allowed me to do this), but still won't let me record using the new UIMap.
Additionally the original UIMap still works. I am using different names for UIMap if anyone is wondering.
I am using VS2012.
Any ideas would be appreciated. Thanks.
I have found the problem and A Solution for it, but not the cause. The properties of UIMaps .cs and .Designer.cs files were set to read-only. Please do let me know if anyone does find out what causes this and how to prevent this from occuring in the future.
My Solution:
Right click on the UIMaps .cs and .Designer.cs files in the project folder
Click on Properties
Untick Read-only tickbox
VoilĂ !
Thanks all.
I downloaded and modified a style file and placed it in the Notepad++ themes folder. I was able to select it and have it update the style as expected. I then went to Settings -> Style Configurator and changed the font of COMMENT of language VHDL to MS Gothic, hit save, and closed and exited Notepad++. I am able to relaunch Notepad++ and still see the change (I'm running Notepad++ in admin mode on Win7).
The only file that I can see a new timestamp on is my XML theme file, but I don't see MS Gothic anywhere in the file. Where is this information being stored? It is overriding the settings from my theme file. I also checked %APPDATA%\Notepad++\stylers.xml but I don't see it there either.
I realize I can change it back through the GUI, but I'd like to know how to get back to my original theme without selecting every style in the language manually (as I've made multiple changes). If I could edit (or delete) a file, I would prefer it.
Look in your %APPDATA%\Notepad++ folder, specifically for the stylers.xml file.
Uninstall Notepad++
Reinstall it again, but this time check the first box, the one that says "Don't use %APPDATA%..... "
Enjoy.
The reason is that Notepad++ install all the files at administrator profile, if you are using another user then you are screw, it will not work properly, you have to run it always as an administrator so it can work properly. To avoid this, just do as i said.
If files are going to APPDATA, then you can create a folder called "themes" and then inside that place your new xml themes. Then close and reopen notepad++ and you should see your new style in the "Select theme:" drop down. Whatever you named the file should be what appears in the dropdown
If you are on Windows 10 the path to add the new theme is :
C:\Users\NAME-OF-COMPUTER\AppData\Roaming\Notepad++\themes
stylers.xml is located one director/ folder above the themes :
Just as a complement to the other answers, if you made the changes on another theme than the default theme (stylers.xml) then your changes are saved to
%APPDATA%\Notepad++\themes\TheThemeYouModified.xml.
For example, if you modified the choco theme, then look for the %APPDATA%\Notepad++\themes\choco.xml.
You will also find a choco.xml in the C:\Program Files (x86)\Notepad++\themes but this one is not where your changes are saved.
I tried Rbastardo answer, but even when I check "Don't use %APPDATA%....." when installing Notepad++, the changes are still saved in %APPDATA%.
In case this helps someone in the future, if you installed Notepad++ via Scoop then look for your themes directory here:
D:\Users\yourusername\scoop\persist\notepadplusplus\themes
I have some files that are saved a main file. When I try to open some brings a pop up about enabling macros but the file never displays. Any ideas?
the first thing you need to do is enable macros. this is a bit different depending on if you are using 2003/2007. you need to go to trust center and adjust your settings.
also depending on whether you are using 2003/2007 you need to get into your VBE visual basic editor and you will see all of your code there