platformio / platformio-atom-ide

PlatformIO IDE for Atom: The next generation integrated development environment for IoT
https://atom.io/packages/platformio-ide
Apache License 2.0
476 stars 72 forks source link

Only load IDE if platformio.ini file is present #247

Open webrgp opened 7 years ago

webrgp commented 7 years ago

I wonder if there is a way to toggle the the full IDE only when platformio.ini file is present. I use atom for other projects, like webapps, and I find myself disabling/enabling the extension every time I switch.

Thanks!

ivankravets commented 7 years ago

What do you like to disable? Toolbar ?

webrgp commented 7 years ago

I would like to not load the extension at all, unless platformio.ini is present @ the root of the project folder.

ivankravets commented 7 years ago

We can create separate package aka platformio-ide-helper and disable/enable the main package automatically. Would you like to live with these lags?

I can't imagine how does awful it will work.

webrgp commented 7 years ago

Yes! That package can contain "Create New Platformio Project", that would create the project structure with the platformio.ino file in it. That would make atom much lighter.

Other settings for this separated package, and I am dreaming here now, would be disabling other packages that has nothing todo with Platformio (like SASS pre-processor for example).

ivankravets commented 7 years ago

Ok, I'll have a look on this issue after 2.0 release. Thanks.

webrgp commented 7 years ago

If you need testing on this, let me know 👍

rsispal commented 6 years ago

Any updates on this? Getting tired of manually switching on/off the IDE

Petfrogg commented 6 years ago

Progress on this? Something like: ` File -> New window [Atom IDE]

File -> New window [Platform IDE] ` This would open up for more IDE variants, dedicated loading etc. More like opening Libre office and choosing between Writer or Calc.

nickdaria commented 6 years ago

Bump because a configuration allowing for PlatformIO to be initialized/closed by a helper would be very helpful. Tired of having to toggle it off for unrelated projects.

ivankravets commented 6 years ago

There are some technical issues to get this working. Nevertheless, we did this work for PlatformIO IDE for VSCode. Please try http://docs.platformio.org/en/latest/ide/vscode.html

karlbeecken commented 5 years ago

I think that you should implement it soon, because some people are annoyed by the overloaded IDE, this speaks against the main-thoughts of the "text-editor for the 21st century" clean but mighty

sbrl commented 5 years ago

Hello!

I'm a potential PlatformIO user, but after trying it once a year or 2 ago, I haven't installed it since because it does completely take over Atom. I use Atom to program in a diverse range of languages, and I'd really appreciate it if PlatformIO would just go away when I'm working on other projects.

In fact, I'd like it to be less 'in my face' in general. I hate the toolbar it adds, and I really don't like the terminal package it forces on me with the extra double-toolbar at the bottom of the screen.

I'm looking for quiet integration with my existing workflow - not something that decides how I'm going to work. If I wanted something that decides my workflow for me, I'd be using venerable Arduino IDE (which I'm unfortunately still having to use because I haven't found anything else that actually works :-/).

JaccoVeldscholten commented 3 years ago

Put this in. Idiots Bump.