Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Display secondary locations and flow steps #27

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
6e8f779
Show issue secondaries
necto Jul 30, 2024
238de7a
Show messages of the secondary locations
necto Aug 1, 2024
3c6a183
Automatically remove highlights when closing the flow window
necto Aug 1, 2024
c49333a
Focus on secondary location upon navigating to its message
necto Aug 1, 2024
04b02ec
name all used faces
necto Aug 1, 2024
7b5df6f
Configure nice faces
necto Aug 1, 2024
c21ab46
Small fix
necto Aug 1, 2024
a98dc29
Display secondary messages inline next to the corresponding locations
necto Aug 1, 2024
5579642
Display natural execution flow
necto Aug 1, 2024
7ae33f6
Compactify the in-line messages
necto Aug 1, 2024
8b801df
Implement reverse navigation: from location to its message
necto Aug 1, 2024
f1e0fd8
Correct overlay detection, highlight the message
necto Aug 1, 2024
6a9e490
Adjust inline messages offests properly
necto Aug 1, 2024
9da3553
Test for secondary messages display
necto Aug 3, 2024
30a3504
Test the in-line messages
necto Aug 3, 2024
a000e30
Test display of a flow
necto Aug 3, 2024
f5e222a
Fix lsp-sonarlint-test--buf-string-with-overlay-strings
necto Aug 3, 2024
c410674
test lsp-sonarlint--add-inline-messages
necto Aug 3, 2024
93c7974
Test navigation to secondary locations by selecting their messages
necto Aug 3, 2024
792b9df
Make offset scaling optional to fix test in batch mode
necto Aug 3, 2024
fbda9df
Fix the interactive test in batch mode
necto Aug 3, 2024
a67e829
Necessary test fixes from other branches
necto Aug 3, 2024
8a4ce42
Remove redundant infix from the test symbols
necto Aug 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fixtures/compile_commands.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"directory": ".",
"command": "/usr/bin/c++ sample.cpp",
"command": "c++ sample.cpp",
"file": "sample.cpp",
"output": "dummy"
}
Expand Down
9 changes: 9 additions & 0 deletions fixtures/secondaries.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

int divide_seventeen(int param) {
if (param == 0) {
int a = 0;
} else {
int b = 0;
}
return 10 / param;
}
Loading
Loading