Home Download Buy Blog Forum Support

More than one Project in SideBarEnhancements.json possible?

More than one Project in SideBarEnhancements.json possible?

Postby hannestressel on Thu Apr 25, 2013 9:34 am

Hello

i'm new to st2 but after short time i fall in love with this great editor.
To open an HTML5 project with my browser, i used Project->Edit Project Preview URL to call this.
But often i work with different projects and so i have to change the sidebarenhancements.json file.

So my question, is it possible to add more projects to this file so that i am able to call them via f12 shortcut or is there a limitation to only one project?

THX!
hannestressel
 
Posts: 2
Joined: Thu Apr 25, 2013 8:16 am

Re: More than one Project in SideBarEnhancements.json possible?

Postby tito on Thu Apr 25, 2013 12:19 pm

No limitation, you can add any amount of paths you wish
{
"S:/www/domain.tld":{
"url_testing":"http://testing",
"url_production":"http://domain.tld"
},
"C:/Users/luna/some/domain2.tld":{
"url_testing":"http://testing1",
"url_production":"http://productiontld2"
}
}


I can see that Project -> Edit Project Preview URLs, may gives the impression to be project related
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 855
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: More than one Project in SideBarEnhancements.json possible?

Postby hannestressel on Thu Apr 25, 2013 3:59 pm

Great! THX!
hannestressel
 
Posts: 2
Joined: Thu Apr 25, 2013 8:16 am


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 33 guests