How to maintain project tree state (collapsed and/or expanded items) after closing and reopening the IDE? - rider

Every time I run Rider it shows the project tree completely collapsed or closed. I would like to keep the state of each node/item just as it was when I closed the IDE, similar to what happens in Visual Studio.
Is there any setting that allows this? I searched, but found nothing.
This is how Rider shows the "Solution" window every time I open it:
And that's how I want it:

Feel free to track the next issue in the JetBrains open issue tracker: https://youtrack.jetbrains.com/issue/RIDER-5094

Related

Visual Studio 2022: prevent collapsing folders in solution explorer (2)

This is a follow-up on the problem reported in this question with this same name.
I am having the same issue in Visual Studio 2022 of objects collapsing after a few seconds or when clicking on another object. The answer provided was changing a setting in CodeMaid, but I have not loaded CodeMaid and am having the same issue.
I have tried multiple variations of checking and unchecking Tools/Options/Projects and Solutions/General options "Track Active Item in Solution Explorer" and "Restore Solution Explorer project hierarchy state on solution load" and nothing works. As I code, I will open Controllers to see the list of methods inside or a data model to view the variables for reference while I am working on other aspects of the code. It is very frustrating to have them close after a few seconds, forcing me to reopen them again, over and over, throughout the day. Any help would be appreciated on this matter.
Update: A Microsoft Solution was posted here. They included a fix in Visual Studio version 17.3.5 supposedly. Update your IDE and the issue should hopefully be resolved.
This seems to be a known issue under investigation as reported in the bug tracker for Visual Studio. Using version 17.3.0 Preview 2.0 I too have observed this buggy behavior.
A few other users have mentioned on the same thread they are having the same problem. One user posted steps to reproduce which is similar to what I have tried to reproduce the issue myself:
I expand Blazor project, I expand Pages folder, I lookup and expand a particular .razor file which has a nested .razor.cs file with code, I expand it, see the class node, expand class node, click on a property and usually in this moment, after less than a second or so the branch collapses and the focus in on the razor.cs node.
The ticket says that it "worked-in:Visual Studio 2022 17.0" - perhaps try rolling back to this version if you can. Otherwise, you may have to wait for a fix.
I had the same problem and I think I found the cause and a solution. The problem is the preview tab, which opens automatically on the right side of the tab area when an element is selected in the solution explorer. I unchecked the Preview Tab option under Options->Environment->Tabs and Windows and haven't had any problems since.
greets...

Project Properties Windows Blank in Visual Studio 2022 Community 17.1.0

I'm trying to access the project properties but the window appears blank. I've tried web solutions View>Properties Window, f4, right click on project folder>properties, Also tried resetting import/export settings, searching for specific tab
everything results in a blank window.. Any help is appreciated!
Thanks in advance.
I ran into this same problem with VS 2022 v17.4.0 Preview 1.0 in a C# Windows forms app. Closing and opening the solution/VS didn't have any effect.
After I closed all the open tabs and reopened a file, the Properties pane was populating correctly.
Does your toolbox items also appear 'greyed out'?
Try Going to your Build Menu and select
Clean Solution
(and perhaps Rebuild afterward - or not)
This happens constantly on my install. I simply minimize the entire VS window, then restore it. Poof! My properties appear. Trivial, but painful.
1 Make sure that your build program is not running (use task manager to end that process if needed) and make sure that you can rebuild your project without errors.
2 Restart Visual Studio as an Administrator.
Good Luck For You All ^_^
I have just encountered this error and it was simply solved by closing the visual studio and reopening it again. it is just gone.

IntelliJ Editor Tabs: Last Recently Used

in my new team we're using IntelliJ and there is one Eclipse feature I miss very dearly:
In a usual situation I have like 20-30 files open im my editor, but there is like 2-3 that I jump around most of the time. Eclipse supported this perfectly by always having the last recently used files in my tabs open and only the rarely used ones in the overflow. IntelliJ follows the exactly opposite paradigm: The last recently used files are always in the overflow and the tabs are useless.
Is there any way to make this more comfortable? I currently have them ordered alphabetically so I can at least find them in the overflow. Unchecking that makes it even more terriblester.
Feel free to vote for https://youtrack.jetbrains.com/issue/IDEA-151642 to see this option added to the IDE editor tab settings.
In the meantime, you can use the Recent Files (Ctrl+E) list, as well as the Recent Locations switcher (Ctrl+Shift+E).
More information on navigating between recent locations and changes:
https://www.jetbrains.com/help/rider/Navigation_and_Search__Navigating_to_Recent_Locations.html
https://blog.jetbrains.com/phpstorm/2013/02/navigating-between-files-in-the-ide-best-practices

How to see live list of syntax errors in WebStorm 7 (or IntelliJ)?

While editing a JavaScript file, the IDE shows highlights on the lines that have problems and displays the lightbulb when you're on one of those lines.
How can I see a live list of all problems found in the current file (e.g. syntax errors)?
The only way I found so far was to manually run inspection and check the inspection window. That's quite cumbersome. Even the "Problems" section of the Project window updates itself automatically as soon as I change the code (even without saving) - but it doesn't display the actual errors (only which files have errors).
Apparently the IDE knows what errors exist in the file - I just can't find a way to see all of them in a list.
In every other IDE I know, it is a built-in, enabled-by-default, feature: eclipse, visual studio, brackets, etc.
Apparently this is an open issue on the IntelliJ family of products. Please upvote that issue if you feel it is missing as well!

Save Aptana Studio 3 project explorer state on close

I'm sure there is a simple option for this but I have as yet been unable to find it. Every time I close and reopen Aptana Studio 3 it collapses all the folders in the project explorer and I have to reopen them all, is there a way to get it to leave them open and save the project explorer's state when I close the program?
Thanks.
I cannot find any way to keep the state of the Project Explorer. However, using the App Explorer, the state of your open folder will be preserved. You can also try the "Navigator" which looks just like the Project Explorer, but appears to keep state. I will add the proviso to that: It kept state when I restarted aptana, but it also developed a GUI glitch where it appears to be scrolled to the right so I only see the right half of all of my file names and I cannot fix it, so this may not be a good option if you get the same glitch.
There is also a method which does not do quite what you ask, but may be a good fix for you anyway. If you click "Link with Editor" picture (two yellow arrows) in the Project Editor, it will automatically expand your project hierarchy to match whichever open file you have active. Since your files stay open when you close Aptana, this would keep the Project Explorer expanded to whatever you are looking at even on restart. See this question
You can also set up working sets for various parts of your code that are buried in the hierarchy and use the Project Explorer to show those working sets instead of you projects. This does not save state, but it does give you easy access to common parts of your code that may be deeply buried.
Hope one of these helps you.