You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -122,6 +127,7 @@ async function openProject(projectName){
122
127
}catch(err){
123
128
console.error("Could not open project :(");
124
129
console.warn(`Are you sure your editor uses command ${chalk.yellow(commandToOpen)} to open directories from terminal?`);
130
+
console.warn(`If not, use ${chalk.yellow('pm seteditor')} to set Editor/IDE of your choice`)
125
131
throwCreateIssueError(err);
126
132
return;
127
133
}
@@ -196,13 +202,33 @@ async function setEditor(command,cmdObj=undefined){
196
202
{
197
203
name:'Vim',
198
204
value:'vim'
205
+
},
206
+
{
207
+
name:'Other',
208
+
value:'other'
199
209
}
200
210
]
201
211
}
202
212
];
203
-
// console.log(); // Just wanted to line break; Sorry god of good practices ;_;
204
-
// console.warn(`If the TextEditor/IDE you are looking for is not listed here, Run ${chalk.yellow('pm seteditor [commandToOpenEditor]')} \n'commandToOpenEditor' is the command you can type in terminal to open project E.g for Webstorm it is 'wstorm' for VSCode it is 'code'\n`);
console.error(`Project with name ${selectedProject} does not exist. Try ${chalk.yellow('pm rmeditor')} and select the project you want to remove the editor from`);
Copy file name to clipboardexpand all lines: package.json
+5-3
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "projectman",
3
-
"version": "1.2.0-alpha.2",
3
+
"version": "1.2.0-beta.1",
4
4
"description": "Hate opening folders? Select and open your projects in your favourite editor straight from your command line without 'CD'ing into the deeply nested folders.",
0 commit comments