mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:18:12 +00:00
HackStudio+LanguageServers/Cpp: Show scope of symbols in Locator
This commit is contained in:
parent
6054a418e5
commit
84e34d76d8
10 changed files with 52 additions and 13 deletions
|
@ -1,6 +1,8 @@
|
|||
#include "other.h"
|
||||
#include <stdio.h>
|
||||
|
||||
namespace MyNamespace {
|
||||
|
||||
int func()
|
||||
{
|
||||
int x = 1;
|
||||
|
@ -12,3 +14,5 @@ int func()
|
|||
printf("x+y: %d\n", x + y);
|
||||
return x + y;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
|
||||
namespace MyNamespace {
|
||||
|
||||
int func();
|
||||
|
||||
#define USE_VAR2
|
||||
|
@ -12,3 +15,5 @@ struct StructInHeader {
|
|||
int var3;
|
||||
#endif
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue