siegelaaron94 / atom-build-cmake

Generate and build cmake projects from within Atom.
MIT License
6 stars 12 forks source link

Nothing appears #37

Closed GuillaumeDesforges closed 6 years ago

GuillaumeDesforges commented 6 years ago

Hi, I installed on Atom 1.17.2

The plugin is successfully installed (it is shown in Packages) but there is no target shown at the bottom left.

BenjaminNavarro commented 6 years ago

Have you opened a project containing a CMakeLists.txt file? It seems to me that the plugin is activated only when it is the case.

GuillaumeDesforges commented 6 years ago

Yup, File > Add Project Folder

and I have the CMakeLists.txt, my cmake -Bbuild && cmake --build build works just fine.

BenjaminNavarro commented 6 years ago

Are the cmake commands available though the command palette? (e.g Cmake: all)

From the plugin source code, I confirm that it should be activated whenever a CMakeLists.txt or CMakeCache.txt is present.

GuillaumeDesforges commented 6 years ago

Ah ! No cmake is showing up in command palette. Tho it is written "installed" in package list.

BenjaminNavarro commented 6 years ago

So it means that the plugin is not activated and it's not problem with the UI. Could you link your project so that I can test with my installation?

GuillaumeDesforges commented 6 years ago

test.zip

Sure ! Thx for helping me

BenjaminNavarro commented 6 years ago

It works for me, be sure to have a file from this project (e.g. CMakeLists.txt) opened otherwise Atom might still considers another project to be the active one. One way to be sure is to use File > Open folder instead.

siegelaaron94 commented 6 years ago

Check out issue #34, I thought I had fixed this though. I will publish a patch in a few minutes. BenjaminNavarro thanks for helping.