Filesystem workspace error navigation

General questions regarding the usage of CodeLite
guyr
CodeLite Enthusiast
Posts: 10
Joined: Wed Feb 01, 2017 11:16 am
Genuine User: Yes
IDE Question: C++
Contact:

Filesystem workspace error navigation

Post by guyr »

Ubuntu Mate 21.10 running CodeLite 14.0.0

I was trying out the filesystem workspace tonight just to understand its features. I had a directory with a set of project files, and I created a filesystem workspace there. I modified the build settings as necessary, and ran the build. The build completed, generating errors I knew were there. In the build window, these errors were correctly shown in red, and all the line numbers were correct. However, clicking on the errors did nothing. I was expecting it to open the corresponding source file and jump to the line with the error.

Does the filesystem workspace not navigate to the errors shown in the build window? I did some searching, and didn't see that limitation listed anywhere.

Thanks.

User avatar
eranif
CodeLite Plugin
Posts: 6225
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Filesystem workspace error navigation

Post by eranif »

Can you provide a sample output?
also, which compiler was defined in your workspace settings -> compiler?

Make sure you have read the HOW TO POST thread
guyr
CodeLite Enthusiast
Posts: 10
Joined: Wed Feb 01, 2017 11:16 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Filesystem workspace error navigation

Post by guyr »

I'm attaching a small file demonstrating the issue. I've included my workspace file, but all I did was to create a filesystem workspace, and pointed it to the directory containing these files. I then modified the settings, changing only the build tab as follows:

Code: Select all

Tool chain: gnu g++

Target Name	Command
build		make
clean		make clean

On my system, CodeLite correctly highlights the line with the error in the source window, and also shows the error in the Build Output View in red. However, when I click that red line (making sure the point is the hand with the pointing finger), CodeLite does not jump to the source window with the cursor at the error.

If I do these same steps using a C++ workspace, then when I click the error in the Build Output View, CodeLite moves the focus to the source window and moves the cursor to the error.

You do not have the required permissions to view the files attached to this post.
Post Reply