Link to home
Start Free TrialLog in
Avatar of James Hancock
James HancockFlag for United States of America

asked on

Does installing Google Chrome browser on my MacBook for previewing in brackets IDE make a mess with Safari also there?

Hi

I'm coding javascript in Brackets on a Macbook, but I'm going out to my Safari and refreshing to see if my code works.

Anyway, there is a 'live preview' lightning button on the side, that seems more efficient, but it claims it needs Google Chrome to work.

If I install chrome on my MacBook with Safari, will that be a mess? Do they collide?

Will the live preview in Brackets work as intended? What should I do? Does it fire up the index.html?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of lenamtl
lenamtl
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Chrome will work fine on a Mac and you should have that installed along with firefox too. That is the best way to test different browsers if you are going to do web development.

I used to have a mac and used brackets as well as jetbrains (My preference). I try and use the least amount of browser plug ins and just refreshed the browser as needed.
Avatar of James Hancock

ASKER

Thanks

How do you use brackets and Jetbrains together? On the same project?
I meant I've tried both out. on any one project you would just use one or the other. I use jet brains as my main Ide. mostly PHP storm and web storm.

if I have something very quick to edit a lot of times I'll just use notepad++. when I had a Mac a good alternative was textmate.

whichever option you choose there's no right or wrong it's whatever is best for you.
Hi,

Jetbrains cost $ and have a big learning curve...
Brackets is fee and a very easy one (similare to Notepad++)

Like I said to preview your page it's always better to run the code outiside the IDE
using your browser and navigate through the application using localhost/yourproject/
or better testing directly where you plan to install it let say  your webhosting company or webserver.

If you need to test your code under several browsers desktop /  mobile / OS
I recommend you to use https://www.browserstack.com/ or https://saucelabs.com/
Yes, jetbrains costs, and I can confirm it does not have a learning curve more than any other IDE for just coding. If you want to use more advanced features and you are not well versed on the type of development the features are for, then part of the learning curve is going to be learning something new and using that in the IDE follows. The additional cost is very small if you are working professionally and there are features that make life easier and worth the price.

You can't compare brackets to notepad as they are different types of editors. You can compare brackets to sublimetext and vscode as it works for mac now too. Personally, I like vscode better than sublimetext and brackets but I still like the features of webstorm/phpstorm(jetbrains). I personally spend the money to buy all products from jetbrains and that is a large pill to swallow. But individually webstorm is only about $100 per year. Not much more than sublime but the benefits from the features offered far out do the others. It is worth a free trial in my opinion. Just managing local files and uploading to multiple servers (dev and live) for instance is worth the price.

"better testing directly where you plan to install " - no, testing should be done either locally or on your dev server, not on your live server.

All of this discussion (including testing in browser stack) is getting off topic. The question is about using live preview and I think we can all agree that the best option is to just view in a browser separately. It has been a while since I last used brackets and remember trying the live preview extension for chrome and ran into issues and just stopped using it. The same was true for sublime.

The follow up question being how to multiple ide's work together?  While I mainly use jetbrains, I will use notepad++ (or textmate for mac) when working on one file that is outside the project I am on or if the ide is not open and just need to make a quick edit to one or two things.

Everybody has their favorite tool and nobody will agree which is 'best'. Do take the time to play with different options though.

https://code.visualstudio.com/docs/setup/mac
https://atom.io/
https://www.sublimetext.com/
https://www.jetbrains.com/webstorm/
Thanks a lot,
Thanks

" it's always better to run the code outiside the IDE", excellent everyone