Intellij open directory with ansible playbook scripts/yaml files as project
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I want to open a directory as a project in Intellij. The directory contains automation/ansible scripts (yaml/sh/etc) files. Tried to search for solution but with no result. How can I do this in IntelliJ?
intellij-idea intellij-plugin
add a comment |
I want to open a directory as a project in Intellij. The directory contains automation/ansible scripts (yaml/sh/etc) files. Tried to search for solution but with no result. How can I do this in IntelliJ?
intellij-idea intellij-plugin
Try creating a new module of Static Web type and add a content root for this directory: jetbrains.com/help/idea/configuring-content-roots.html.
– CrazyCoder
Aug 16 '18 at 20:49
add a comment |
I want to open a directory as a project in Intellij. The directory contains automation/ansible scripts (yaml/sh/etc) files. Tried to search for solution but with no result. How can I do this in IntelliJ?
intellij-idea intellij-plugin
I want to open a directory as a project in Intellij. The directory contains automation/ansible scripts (yaml/sh/etc) files. Tried to search for solution but with no result. How can I do this in IntelliJ?
intellij-idea intellij-plugin
intellij-idea intellij-plugin
asked Aug 16 '18 at 17:53
alltejalltej
2,94321640
2,94321640
Try creating a new module of Static Web type and add a content root for this directory: jetbrains.com/help/idea/configuring-content-roots.html.
– CrazyCoder
Aug 16 '18 at 20:49
add a comment |
Try creating a new module of Static Web type and add a content root for this directory: jetbrains.com/help/idea/configuring-content-roots.html.
– CrazyCoder
Aug 16 '18 at 20:49
Try creating a new module of Static Web type and add a content root for this directory: jetbrains.com/help/idea/configuring-content-roots.html.
– CrazyCoder
Aug 16 '18 at 20:49
Try creating a new module of Static Web type and add a content root for this directory: jetbrains.com/help/idea/configuring-content-roots.html.
– CrazyCoder
Aug 16 '18 at 20:49
add a comment |
2 Answers
2
active
oldest
votes
On Mac OS, do
$ cd /path/to/the/project/root/directory
$ open -a 'IntelliJ IDEA 2018.2' &
Project will be automatically created.
add a comment |
The following steps works for me. I am using Ultimate 2018.2 with YAML/Ansible support
plugin installed.
File>New>Project from Existing Sources
or if adding as a module in existing project(s)File>New>Module from Existing Sources
, then select the folder that contains the scripts.- In next window, select the
Create project from existing sources
option. The clickNext
in succeeding windows thenFinish
.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51882774%2fintellij-open-directory-with-ansible-playbook-scripts-yaml-files-as-project%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
On Mac OS, do
$ cd /path/to/the/project/root/directory
$ open -a 'IntelliJ IDEA 2018.2' &
Project will be automatically created.
add a comment |
On Mac OS, do
$ cd /path/to/the/project/root/directory
$ open -a 'IntelliJ IDEA 2018.2' &
Project will be automatically created.
add a comment |
On Mac OS, do
$ cd /path/to/the/project/root/directory
$ open -a 'IntelliJ IDEA 2018.2' &
Project will be automatically created.
On Mac OS, do
$ cd /path/to/the/project/root/directory
$ open -a 'IntelliJ IDEA 2018.2' &
Project will be automatically created.
answered Nov 17 '18 at 2:49
user674669user674669
2,61252443
2,61252443
add a comment |
add a comment |
The following steps works for me. I am using Ultimate 2018.2 with YAML/Ansible support
plugin installed.
File>New>Project from Existing Sources
or if adding as a module in existing project(s)File>New>Module from Existing Sources
, then select the folder that contains the scripts.- In next window, select the
Create project from existing sources
option. The clickNext
in succeeding windows thenFinish
.
add a comment |
The following steps works for me. I am using Ultimate 2018.2 with YAML/Ansible support
plugin installed.
File>New>Project from Existing Sources
or if adding as a module in existing project(s)File>New>Module from Existing Sources
, then select the folder that contains the scripts.- In next window, select the
Create project from existing sources
option. The clickNext
in succeeding windows thenFinish
.
add a comment |
The following steps works for me. I am using Ultimate 2018.2 with YAML/Ansible support
plugin installed.
File>New>Project from Existing Sources
or if adding as a module in existing project(s)File>New>Module from Existing Sources
, then select the folder that contains the scripts.- In next window, select the
Create project from existing sources
option. The clickNext
in succeeding windows thenFinish
.
The following steps works for me. I am using Ultimate 2018.2 with YAML/Ansible support
plugin installed.
File>New>Project from Existing Sources
or if adding as a module in existing project(s)File>New>Module from Existing Sources
, then select the folder that contains the scripts.- In next window, select the
Create project from existing sources
option. The clickNext
in succeeding windows thenFinish
.
answered Aug 20 '18 at 13:05
alltejalltej
2,94321640
2,94321640
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51882774%2fintellij-open-directory-with-ansible-playbook-scripts-yaml-files-as-project%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Try creating a new module of Static Web type and add a content root for this directory: jetbrains.com/help/idea/configuring-content-roots.html.
– CrazyCoder
Aug 16 '18 at 20:49