跳转到内容

Coming from another IDE

此内容尚不支持你的语言。

There is nothing to import. Open the project folder: Ferris IDEA reads the project files an IntelliJ-based IDE left in it, and the shortcuts of that family’s default keymaps work as you know them. Reading .idea and .ipr projects: Works. The settings and keymaps of other IDEs are not imported; this page says what to do instead.

A project from IntelliJ IDEA, PyCharm or another IntelliJ-based IDE

Section titled “A project from IntelliJ IDEA, PyCharm or another IntelliJ-based IDE”

Open the folder as any other (Open your first project). If it holds a .idea folder, or a <name>.ipr file in the older format, Ferris IDEA reads:

From What
.idea/.name, modules.xml, *.iml the project’s name, its modules, their source, test, resource and excluded folders, and their dependencies
misc.xml, .idea/libraries/ the project’s SDK, language level and libraries
vcs.xml which folders are under which version control
.idea/runConfigurations/, and the run configurations in workspace.xml Application, JUnit, Gradle, Maven, Python, Shell Script and HTTP Request configurations, ready to run
.idea/codeStyles/ indentation and the right margin, when the project uses its own code style
.idea/inspectionProfiles/Project_Default.xml which inspections are on and how severe; Ferris IDEA writes to the same file
.idea/dataSources.xml the shared data sources, offered in the Database tool window to take over, never connected by themselves

The Project tool window shows the folders in their roles, and the run configurations appear in the toolbar’s list after the ones Ferris IDEA keeps in .ferris-idea/run.toml. Like every run configuration, they start only in a trusted project.

What Ferris IDEA does not do:

  • It never writes into .idea, apart from the inspection profile when you change an inspection. Both IDEs can keep working on the same folder.
  • It does not open personal or tool state: usage.statistics.xml, the shelf, and the database tool’s personal files such as dataSources.local.xml. From workspace.xml it takes only the run configurations.
  • It never reads the other IDE’s own settings folder, so global SDKs and libraries defined there are not known. Name them in the project, or let Ferris IDEA find the toolchains on your system.
  • A data source taken over gets its name, database system and address, never a user or password: add the user yourself, then Save.

Malformed files and missing module files are listed as problems; the rest is still read.

Ferris IDEA’s keymaps are the default keymaps of IntelliJ-based IDEs, for macOS and for Linux, with a few additions on macOS (Keymaps and shortcuts). If you used the default keymap, nothing changes for your fingers.

A keymap of your own from another IDE cannot be imported. Set the few shortcuts you changed in Settings › Keymap, or write them into keymaps/FerrisIDEA.toml.

  • Settings of another IDE. Themes, fonts, plugins and other preferences are set again in Ferris IDEA’s own Settings. Ferris IDEA has six themes of its own; Themes, fonts and layout names them.
  • Plugins. Plugins of other IDEs do not run in Ferris IDEA, whose plugins are WebAssembly modules: Plugins.
  • Settings and keymaps of VS Code are not read.
  • Live templates of your own: Ferris IDEA offers the templates of the language servers and a few of its own (Complete code).

To carry your Ferris IDEA settings to another machine, export them to a settings file and import it there: Move your settings.

idea_project answers what Ferris IDEA read from a project’s .idea or .ipr: modules, folders, libraries, run configurations, code style, data sources and the problems found. add_idea_data_source takes over one data source as a connection, with the write right.

  • add_idea_data_sourcechangesdry run by defaultwriteAdd a data source from the reference IDE's .idea/dataSources.xml (as idea_project lists it) as a workspace connection, picked by name.
  • idea_projectreadsRead-only view of the reference IDE's project files (.idea folder, or a <name>.ipr): name, SDK, language level, modules with roots, folders, dependencies, facets, libraries, VCS mappings and problems; folders with their Project-tree role; run_configurations with Ferris IDEA's translation or the reason none exists (env names only, never values); code_style as written, applies true when it is switched on; data_sources from the shared dataSources.xml with credentials removed from URLs (never connected; add one with add_idea_data_source).