Comments (6)
以下是檔案裡的內容,跟folder有關的就modules.xml
而已,還有project-home.iml
自己的檔案名稱。
.gitignore
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
modules.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/project-home.iml" filepath="$PROJECT_DIR$/.idea/project-home.iml" />
</modules>
</component>
</project>
project-home.iml
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
vcs.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
from ide-study.
有2種方式,改directory(以下稱folder) or 改project。
from ide-study.
from ide-study.
這裡要注意一下,folder改完後要先把project-home
從WebStorm移除,然後local的project-home
也殺掉,重新WebStrom打開x-project-home
,不然WebStorm會錯亂。
from ide-study.
看一下有什麼變化?
modules.xml
這裡可以看到引用改為v-project-home.iml
了。
from ide-study.
補充一下...
改完folder,如果沒有移除project-home
重開x-project-home
的話,就會多了workspace.xml
檔案,用來記錄改名的前後關係。
% ls -al .idea/
total 40
drwxr-xr-x 7 vic staff 224 Nov 21 13:25 .
drwxr-xr-x 5 vic staff 160 Nov 21 11:54 ..
-rw-r--r-- 1 vic staff 176 Nov 21 11:54 .gitignore
-rw-r--r-- 1 vic staff 276 Nov 21 13:08 modules.xml
-rw-r--r-- 1 vic staff 458 Nov 21 13:16 v-project-home.iml
-rw-r--r-- 1 vic staff 180 Nov 21 11:54 vcs.xml
-rw-r--r-- 1 vic staff 3148 Nov 21 13:09 workspace.xml
% cat .idea/workspace.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="5b54007a-a7ee-4310-a858-bad532a0f64c" name="Changes" comment=".idea files">
<change beforePath="$PROJECT_DIR$/.idea/project-home.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/v-project-home.iml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="MarkdownSettingsMigration">
<option name="stateVersion" value="1" />
</component>
<component name="ProjectId" id="2HqBl5CQGinwJFTPCoz38Ra2OmG" />
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">{
"keyToString": {
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"WebServerToolWindowFactoryState": "false",
"last_opened_file_path": "/Users/vic/dev/v-project-home",
"settings.editor.selected.configurable": "project.propVCSSupport.DirectoryMappings",
"vue.rearranger.settings.migration": "true"
}
}</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="5b54007a-a7ee-4310-a858-bad532a0f64c" name="Changes" comment="" />
<created>1669002880470</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1669002880470</updated>
<workItem from="1669002881739" duration="594000" />
<workItem from="1669003516538" duration="41000" />
<workItem from="1669003561179" duration="173000" />
<workItem from="1669008750921" duration="44000" />
<workItem from="1669008804470" duration="12000" />
</task>
<task id="LOCAL-00001" summary=".idea files">
<created>1669003327154</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1669003327155</updated>
</task>
<option name="localTasksCounter" value="2" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
<component name="Vcs.Log.Tabs.Properties">
<option name="TAB_STATES">
<map>
<entry key="MAIN">
<value>
<State />
</value>
</entry>
</map>
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value=".idea files" />
<option name="LAST_COMMIT_MESSAGE" value=".idea files" />
</component>
</project>%
from ide-study.
Related Issues (12)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ide-study.