AddQuickFile (Shift+F2) not working in Visual Studio 2022 - visual-studio-2022

After updating my VS 2022 last week to version 17.4.0 the add quick file is not working anymore.
I used to use Mads Kristensen extension but now, with this new version, the extension was replaced by a built-in feature and when I type shift+f2 the Add New Item dialog shows up, I type something like Test.cs or ITest.cs and just an empty file is created.
I've already tried uninstalling the extension but it didn't work either.
Does anybody with the same problem?

The problem continues but for those that use Mads Kristensen Add New File extension, there is a way around it.
Go to Tools -> Options -> Environment -> Keyboard and remove the shortcut for AddQuickFile.
After that find NewEmptyFile (the full name is ProjectandSolutionContextMenus.Project.Add.NewEmptyFile) and assign the SHIFT+F2 shortcut to it.
At least while the VS2022 doesn't work well, we can continue to use the extension.

Related

Intellij how to add and save a property in a resource bundle file?

By following the steps on this doc, I was able to add a new property in an existing resource bundle file set in English and Chinese. But I don't know how to save this addition. Initially, it seems good. I click the save button several times and then navigate away from the newly added entry. When I came back, the new key is there but the values are gone. Looking at the files on the disk, only one file has the key, no other changes there. I am using the latest Intellij on Windows 7.
It's a known bug in 2020.1 and 2020.1.1 releases.
The fix is available since IntelliJ IDEA 2020.1.2 RC (build 201.7846.53), released on May 26, 2020.

Visual Studio 2015 RC missing using option in quick actions

I have no idea what changed, but either using Ctrl+. or right clicking to bring up the quick actions in VS2015 RC (14.0.22823.1) on a token that I haven't added the right using statement used to give me an option to automatically add it for me, along with options to create a new class and a few other things.
The last couple days it's no longer giving me the option to add the using statement for me (I use this shortcut all the time). It still has all the other options.
Anyone else run into this? I recently installed Web Essentials 2015.0 RC and Code Maid (code maid was causing problems so I removed it). Could one of those affect it?
I just had the same problem and solved it by renaming the .suo file in ProjectName\.vs\ProjectName\v14 to something VS will not find, like .suo.bak.
This will reset your project specific preferences, like open files, solution explorer state etc. Make a backup of the file or rename it so you can go back if you are missing something important.
If everything works afterwards you can simply delete the renamed file, VS will create a new one.

How to change the default new/open project directory in PhpStorm 8?

When I click open or new project PhpStorm shows the way to C:\User\Myname. Tell me how to change this to C:\xamp\www ?
There is no GUI for that.
PhpStorm should remember last used folder (when you successfully created new project) and use it by default for next one (does for me; although I'm using the same path since v1 .. maybe this was broken since then).
If it does not and if you have brave heart .. you can edit config file directly :)
Close IDE
Open this file in any text editor: C:\Users\USERNAME\.WebIde80\config\options\ide.general.xml (path is for PhpStorm v8 on Windows 7; for other OS/versions please see this link: https://intellij-support.jetbrains.com/entries/23358108-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs )
File is very short -- just find <option name="lastProjectLocation" node and edit value attribute -- put desired path there
Save changes, Launch IDE and see if it worked for you.

IntelliJ 12, module-depenencies all red, no path.

I have a real problem with making Play2.0 work with IntelliJ EAP version (120.152).
I create an empty project without module in IntelliJ
I create a new application using the play command, and using play idea at the end
I then add this module from IntelliJ, using "Import from existing module"
Now, I have two folders too chose from when importing the module.
1. .idea
2. .idea_modules
After seeing some different ways on the internet,
I chose .idea_modules -> moduleName.iml
(I have tried all the others just to check)
Here is what bothers me the most
Anyone had anything similar? I am not sure why this is, every other screenshot I have seen from this, have a path behind the red text (making it work!), which I do not.
Any suggestions what I can do from here to hopefully make this work?
My Scala facet looks like this in the IDE, but I have not seen any Play documentation that goes into modifying the facet, so I just leaved it as is
In IntelliJ 12 - the same as in IntelliJ 11 you can open the Play's project since version 2.0.2, just by using option 'Open project' in the start window view.
You don't need to create blank project first in IDE.
play new test-leda + all required steps by play console
cd test-leda
play idea + wait for bash prompt which indicates finalization
Open Leda and choose Open project
Find the folder test-leda and just click Choose
That's all

IntelliJ - Delete list of previously opened projects?

Is there a way in IntelliJ IDEA to delete previously used projects? I am referring to a list on the main page when the application starts. Please look at the image.
File -> Open Recent -> Clear List
Edit: For versions of 2016+ this is no longer available. Use This solution: File -> Open Recent -> Manage Recent Projects / Startup Dialog, ctrl+a (select multiple with ctrl+click) -> del
File -> Open Recent -> Manage Projects .... CTRL-A then Delete to remove all, or hit the X to remove individual.
IntelliJ IDEA 2016.2.5
Locate config\options\other.xml file and manually edit the list of recent projects inside the XML under <component name="RecentProjectsManager"> node.
There is no way to remove individual projects from the UI. See Dan's reply otherwise.
In IntelliJ15, you can remove them from welcome screen, works ctrl+a and then remove all of them.
In MAC, ~/Library/Preferences/IdeaIC14/options/recentProjects.xml is the file to easily edit the list when you do not want to lose everything. (It is for IdeaIC14).
In idea 2022 for MAC it is located under ~/Library/Application Support/JetBrains/IntelliJIdea2022.3/options
In Idea 2019 it is located in Idea Colder\config\options\recentProjects.xml
Just figured, I am using Idea Community edition 13.1.1 and the cleanest and easiest way is to go to File > Reopen project > Clear List. I just stumbled upon this menu today. I always thought that is just to clear the latest projects from the view inside the IDE and just realized it is clearing the projects from the main Dialog too.
-VRS
Close all projects till you reach the welcome screen. Right click on the project and choose Remove Selected from Welcome Screen. Or click on the cross arrow on the upper right corner of the selected project.
idea22 on windows10 system, recent projects on the path C:\Users\****\AppData\Roaming\JetBrains\IntelliJIdea2022.3\options\recentProjects.xml, I delete all the <entry><\entry> labels