#2173: store JetBrains vmoptions under $IDE_HOME/.ide/<ide>/<workspace> - #2208
Open
quando632 wants to merge 7 commits into
Open
#2173: store JetBrains vmoptions under $IDE_HOME/.ide/<ide>/<workspace>#2208quando632 wants to merge 7 commits into
quando632 wants to merge 7 commits into
Conversation
This was referenced Jul 24, 2026
Collaborator
Coverage Report for CI Build 30438507083Coverage decreased (-0.02%) to 72.574%Details
Uncovered ChangesNo uncovered changes found. Coverage Regressions8 previously-covered lines in 2 files lost coverage.
Coverage Stats💛 - Coveralls |
quando632
force-pushed
the
feature/2173-jetbrains-metadata
branch
from
July 28, 2026 09:26
402f6a4 to
6b3cb19
Compare
8 tasks
quando632
marked this pull request as ready for review
July 29, 2026 09:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes #2173 (part of #2142)
Moves the JetBrains VM options out of the workspace into
$IDE_HOME/.ide/«ide»/«workspace»for IntelliJ, PyCharm and Android Studio, solved once in their shared superclass.Scope
Per the discussion on #2142, only the vmoptions are relocated.
.ideaand*.propertiesare intentionally out of scope:.ideais IntelliJ's project-root-bound project definition (excluded from IntelliJ's own search anyway) andidea.propertiesis an empty template merged into the workspace — relocating them would need symlinks (Windows-permission risk) for little benefit. Spike #2209 was closed as not planned.Implemented changes
IdeaBasedIdeToolCommandlet.runTool: the.«prefix».vmoptionsfile is now written togetIdeMetadataPath()instead of the workspace (the«IDE»_VM_OPTIONSenv var points at the same new path). One change in the shared superclass covers IntelliJ (.idea.vmoptions), PyCharm (.pycharm.vmoptions) and Android Studio (.studio.vmoptions).IntellijTest,PycharmTest,AndroidStudioTestto assert the new location.No migration is needed: the vmoptions file is regenerated at the new location from the
«IDE»_VM_ARGSvariable on the next IDE launch.Testing instructions
cd cli && mvn -Dtest=IntellijTest,PycharmTest,AndroidStudioTest test— all pass.INTELLIJ_VM_ARGSin your project, runide intellij, verify.idea.vmoptionsis created under$IDE_HOME/.ide/intellij/«workspace»/and not in the workspace.Checklist for this PR
mvn clean testlocally all tests pass and build is successful (ran the affected tests)#«issue-id»: «brief summary»In Progressand assigned to you