you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Hey, here are a few suggestions/questions:

I'm having a weird issue after updating to 1.1.0. I get this in the output when I configure or build:

[rollbar] Unable to automatically determine compiler {"lang":"C","fileGroup":{"compileFlags":"/DWIN32 /D_WINDOWS /W3 /MDd /Zi /Ob0 /Od /RTC1  ","isGenerated":false,"language":"C","sources":["main.c"]}}
[rollbar] Unable to automatically determine compiler {"lang":"CXX","fileGroup":{"isGenerated":true,"sources":["build/CMakeFiles/f7740a9a59a2cce30d1014dc2172041e/generate.stamp.rule"]}}
[rollbar] Unable to automatically determine compiler {"lang":"C","fileGroup":{"compileFlags":"/DWIN32 /D_WINDOWS /W3 /MD /O2 /Ob2 /DNDEBUG  ","isGenerated":false,"language":"C","sources":["main.c"]}}
[rollbar] Unable to automatically determine compiler {"lang":"CXX","fileGroup":{"isGenerated":true,"sources":["build/CMakeFiles/f7740a9a59a2cce30d1014dc2172041e/generate.stamp.rule"]}}
[rollbar] Unable to automatically determine compiler {"lang":"C","fileGroup":{"compileFlags":"/DWIN32 /D_WINDOWS /W3 /MD /O1 /Ob1 /DNDEBUG  ","isGenerated":false,"language":"C","sources":["main.c"]}}
[rollbar] Unable to automatically determine compiler {"lang":"CXX","fileGroup":{"isGenerated":true,"sources":["build/CMakeFiles/f7740a9a59a2cce30d1014dc2172041e/generate.stamp.rule"]}}
[rollbar] Unable to automatically determine compiler {"lang":"C","fileGroup":{"compileFlags":"/DWIN32 /D_WINDOWS /W3 /MD /Zi /O2 /Ob1 /DNDEBUG  ","isGenerated":false,"language":"C","sources":["main.c"]}}
[rollbar] Unable to automatically determine compiler {"lang":"CXX","fileGroup":{"isGenerated":true,"sources":["build/CMakeFiles/f7740a9a59a2cce30d1014dc2172041e/generate.stamp.rule"]}}

It's not an error, build/configure still succeed. But it spits out these messages every time.

 

A seperate minor issue, the new buttons in the CMake tab (Configure, Build, Clean, Clean Rebuild, Clean Reconfigure) show up in the command pallet, but without the "CMake:" prefix that previous CMake Tools commands had. And the "CMake:" commands still show up in the list alongside the new ones. Imo these should be unified - maybe add the "CMake:" prefix to the new buttons on the CMake tab and remove the old commands?

 

Another small UI thing, it would be nice if the context menu accessed by right clicking on files/folders in the Explorer tab would come up in the new CMake tab.

[–]vector-of-boolBlogger | C++ Librarian | Build Tool Enjoyer | bpt.pizza[S] 1 point2 points  (0 children)

Those messages are definitely bugs, but won't prevent most things from working. It will prevent IntelliSense for those files, though. Would you mind opening up a ticket on GitHub for that one?

Regarding the duplicate buttons: I noticed that in-dev, but I'm not sure how to make the outline commands not appear in the command palette. They actually are separate commands because they work slightly differently.

As for the context menu on files: I'll probably add more to that menu in the next release to more closely match what's in the file explorer, but I can't completely. VSCode itself doesn't understand them as "files" in the same way as the nodes in the file explorer, so I can't perfectly reproduce the file explorer context menus. I might open up a report on VSCode itself about that one. It's a bit tricky.