I use Intellij to inspect databases, run sql, view data in tables etc. This all works fine but the only thing I am missing is the ability to define these datasources once and view them in all my projects i.e. that I can share them between other projects and not have to redefine them for new projects. Is this possible in Intellij?
我使用Intellij检查数据库、运行sql视图数据表等。这一切都没问题,但我唯一缺少的是定义这些数据源的能力一旦和视图在所有我的项目即可以分享他们其他项目之间并没有重新定义他们的新项目。这在Intellij中可能吗?
1 个解决方案
#1
23
In the Data Source Properties select the data source and click on the Make Global
button (box with green arrow). Now you can use the data source from all your projects. However the data source is no longer stored in the project files, so any other developers working on the same projects will need to define their own data source.
在数据源属性中,选择数据源并单击Make Global按钮(带有绿色箭头的框)。现在您可以使用来自所有项目的数据源。但是,数据源不再存储在项目文件中,因此在相同项目中工作的任何其他开发人员都需要定义自己的数据源。
#1
23
In the Data Source Properties select the data source and click on the Make Global
button (box with green arrow). Now you can use the data source from all your projects. However the data source is no longer stored in the project files, so any other developers working on the same projects will need to define their own data source.
在数据源属性中,选择数据源并单击Make Global按钮(带有绿色箭头的框)。现在您可以使用来自所有项目的数据源。但是,数据源不再存储在项目文件中,因此在相同项目中工作的任何其他开发人员都需要定义自己的数据源。