I'm using PyDev within Apatana Studio 3, and I noticed whenever files are updated in the project directory (ie. when the package explorer is refreshed), there is an annoying virtual clicking sound. Since my project is generating files rather slowly, I get several clicking sounds each time I debug it.
So, how can I disable it?
This is probably related to Eclipse and not really Aptana Studio 3 (so, take a look at: How to turn off the beep sound in Eclipse?)
Related
Ok, so I start a new project in Visual Studio (currently updated to update 3) and choose ASP.NET Web Application (.NET Framework).
Then I choose the Empty template and to add the folders and core references for Web Forms.
Ok, great, so I add a webform to the project and then find there's a problem:
Design view or even Split view is not available for the new aspx page.
Pressing the buttons 'Design' or 'Split' do nothing and only the source is seen, which also becomes uneditable.
Now I have seen this issue before and searched and searched for an answer. But the only solution was a complete reinstall - this means a few GB download and then hours of the install program doing whatever it does (it is the slowest install for anything on any platform).
This issue seems to occur randomly, and once it occurs, it seems to be permanent, short of a complete reinstall of VS.
Is this a fault in Visual Studio that will never be fixed?
Does someone actually know how to fix this other than a complete reinstall?
Please do not suggest to try 'Open With' on the aspx file - yes I have tried every option and the original default is the correct one.
Answers from the Microsoft forum are about as helpful as giving wheels to a tomato, such as here. It has even been highlighted for Visual Studio 2008 here. Someone seems to have tried to raise the issue last year here.
I'm working on a large-ish web forms application and VS has stopped updating .aspx.designer.cs files in the last few days.
It seemed like the designer updates initially became flaky (sometimes update, sometimes not) then stopped updating altogether. Now I have to manually edit the designer file after adding a control to a page before I can compile.
I've searched and tried all the suggestions like switching from markup to design view and back etc - no change. The only thing that kind of works is this but even then the generated designer file often doesn't contain references to all the controls on the page. And also that only works on a per-file basis. Ideally I would like the whole project to update/generate designer files correctly again.
I've tried cleaning the solution - no change.
VS details:
Microsoft Visual Studio Professional 2013
Version 12.0.40629.00 Update 5
Microsoft .NET Framework Version 4.6.00079
Installed Version: Professional
Any suggestions appreciated - thanks.
Make sure you're not running the application/site while adding controls. I've noticed that VS will lock the designer files while in debug mode and doesn't sync up when you exit debug mode.
Also, your link is broken, doesn't point to anything so I can't see what you were referencing to.
I think what caused this was a somewhat flaky local install of the project from TFS. It compiled but still had red squiggly lines under a few namespaces at design time. Once the project references were all clean the designer files were also updating correctly.
What I"m trying to accomplish is to get the latest solution from TFS Team System Foundation, build and debug it. I can map the solution to my local folder but when I try to open it I have an issue where I can't build and debug it. Here are the steps I"m taking:
Open Visual Studio 2010; Open Team Explorer (using TFS2010) window; Open Source Control Explorer window
Navigate to solution directory example: $/WebSites/English/Development/Source/WebApp
Right Click Map to Local folder
Select folder; click yes to get files and wait for file to be moved to local folder
Open Windows Explorer, navigate to folder with sln file
Double Click sln file to open it
• What I would like to occur is to have solution open; build and debug it
• 7. What occurs is another Get Progress that gets all files again and alters the file structure in Windows Explorer
Then when I attempt to run and debug the solution it doesn’t have all the files. For example in the browser when viewing the site a lot is missing, it’s not rendering correctly.
On a co-workers machine it works just fine.
Why doesn’t the sln file open correctly?
How can I open the solution to build and debug it?
Thank you in advance,
Catto
Ill assume you are doing a get latest version before you do this.
here are some things to check.
First expand the references for all the projects in the solution and make sure they are all correct, the icon will be different for anything missing.
Make sure the web settings are correct, they can be saved in the solution file or not, its an option.
Make sure there are no pre or post build events that are screwing things up
make sure someone didn't flat out forget to add the files to TFS or maybe they didn't check things in yet
if all that doesnt help make sure the versions of your referenced dlls are the same as your coworkers ... and the GAC if its being used
Is there any way to replace VS2012 solution explorer's icons with VS2010 ones? At least 'folder' icon :(
Here is a shot of my VS2012 install that almost looks like the familiar 2010 we are all used to. It makes me feel normal again!
Here is exactly how I did this, step-by-step:
1) Close all instances of Visual Studio
2) Download vsip and extract it to a temp directory. (as of 1/3/2013 the current version is 1.5.2)
3) Open up a command prompt with "Run as administrator"
4) Go to the temp directory and run VSIP.exe - This will run an interactive program that accepts commands.
4a) Type "backup --version=2012" - This will backup all of your VS2012 UI dlls, just in case something gets messed up and you want to uninstall VSIP.
4b) Type "extract" - This will extract all of the old icons from your installation of VS2010 (per VS2010 license VSIP can not distribute those icons so we have to have a local install to pull them from).
4c) Type "inject" - This will inject all of the old 2010 icons from the previous step into the VS2012 DLLs.
4d) Type "menus -n" - This will change the menus so they are NOT ALL CAPITALIZED!
5) Download and install NiceVS - do not download the one dated 10/14 or you will be missing icons. As of 1/3/2013 I downloaded the file named "NiceVS.0.8.1.1 Beta.Full.vsix".
6) Download and install VS2012 Color Theme Editor - The next time you start VS2012 select the "Blue" theme from the color select window.
Now you should have a nice install of VS2012 that looks like my screen shot above! It takes three different applications to patch that hideous UI but it's certainly workable now! If you don't have VS2010 installed on the same machine as VS2012 then you will have to run step 4b on a machine with VS2010 and then copy the VSIP Images directory to your 2012 development machine.
Update: If you install "VS 2012 Update 1" after running these steps you will need to re-run step 4c from the VSIP admin prompt (or all of step 4 if you didn't keep the extract of the VS2010 images). The file menu icons and color scheme stay as they are but the update reverts the icons in the solution explorer back to the ugly ones. Re-running the VSIP inject fixes it right up!
Short Answer:
Hack the old icons into 2012.
Visual Studio Icon Patcher - http://vsip.codeplex.com
Long Answer:
Doing this with a plugin, for now, is out of the question. I've been unable to find any built-in way to achieve this and the switch to WPF makes it even harder to hack around.
This app simply extracts the image resources from the unmanaged DLLs in Visual Studio 2010 and injects them into the DLLs for Visual Studio 2012. The managed resources are a lot more complex and haven't been added in yet, though I have gotten some to work.
The initial release didn't work well with themes that had a dark Tree View background color due to how the icon colors are inverted when a dark background color is detected. This is made even worse in the newest release since menu & toolbar icons are included now. I'm running this with the Blue Theme and it looks fine.
One way to hack around the icon inversion is to edit all the extracted images to add a single cyan pixel in the top right corner of each icon in the image map. This will exclude them from the inversion process. I haven't tried this though because I ran into issues early on when manipulating the images where they wouldn't display right. You could try it but it'll be fairly manual and time consuming and may not even work.
Look at this thread:
Solution Explorer - custom icons for my folders
I think it's also applicable for vs2012
If not -> you can manually find solution explorer's icon resources with ResHack (or Resource Hacker) and simply replace it!
Here is the solution:
Visual Studio Icon Patcher http://vsip.codeplex.com/
Description from VSIP web page:
Project Description Visual Studio Icon Patcher allows you to update
Visual Studio 2012 with the icons from Visual Studio 2010.
Until someone can find a way to change the icons via a plug-in the
only way to change them is through resource patching the DLLs that
Visual Studio uses. There are a number of managed and unmanaged DLLs
containing Bitmaps and PNGs that are used to style the application.
For now only the unmanaged DLLs are part of this process with the
managed DLLs hopefully coming soon.
No images are distributed with this project. You will need to have
both Visual Studio 2010 and 2012 installed to use this.
Update
I've just tested VSIP with Visual Studio 2012 Update 2, and it work flawlessly :-)
I have a web project setup in Aptana Studio 3.
I like the IDE, but so far my biggest issue with it is how long it takes for it to "Build the workspace". It seems to take forever to sort through all of the EXTJS 4.x files.
Everytime I rebuild the theme file, it takes at least 30 minutes, and the whole time the IDE can't be used. Or if I update the EXT version, it has to go through it all again.
I am sure I could remove the EXT files from the tree entirely until I put my code on the server, but I don't like for things to be scattered, and I am likely to forget to put it back.
Is there anyway I can have it exclude the EXTJS files from process it goes through?
I have try right clicking on the folder in the tree and "Exclude from Index" but that doesn't seem to work at all (This might not even be used for what I think it is).
When I put a whole new set of library files in, this process has taken up to 2 hours. And even if I stop it, it takes 5 or 6 minutes to actually stop.
I realize that the machine I am working on isn't very powerful, but I think this is a little ridiculous, especially for as often as it happens.
Any advice on this other than "get a more powerful machine" would be greatly appreciated.
If it helps I am running Kubuntu 11.10 32 bit.
I haven't used Aptana but it looks eclipse based. In eclipse, you can tweak you project's 'builder' and 'validation' settings so that 'builders' don't walk through the entire ExtJS tree each time you open the workspace or save a file in the project.
There are obviously downsides to disabling validations but its a trade off. (I had the same issue but on eclipse. I moved ExtJS to a separate eclipse project and disabled all builders)
just disable the javascript validator from the project properties window, this is enough.