AnotherTest
29c8d34be7
HackStudio: Fix a misuse of dbgln() intended as dbgln_if()
...
This currently works accidentally, just because there's an overload for
`dbgln<bool>(...)` - it just bypasses the compiletime checks.
2021-02-23 13:59:33 +01:00
Itamar
5bc82c0185
LanguageServers/Cpp: Add 'FindDeclaration' capability
...
The C++ LanguageServer can now find the matching declaration for
variable names, function calls, struct/class types and properties.
When clicking on one of the above with Ctrl pressed, HackStudio will
ask the language server to find a matching declaration, and navigate
to the result in the Editor. :^)
2021-02-20 15:53:37 +01:00
Itamar
c4139be461
HackStudio: Always use relative paths when opening project files
2021-02-20 15:53:37 +01:00
Itamar
50f887c9d5
HackStudio: Display identifiers as clickable
...
This extends the "navigate to include" feature to also display
identifiers as clickable when they're hovered over while left control
is pressed.
2021-02-20 15:53:37 +01:00
Andreas Kling
50308f6fda
Shell: Move Shell syntax highlighter LibShell
2021-02-07 17:07:33 +01:00
Andreas Kling
ddbf20ecf6
LibSyntax+LibGUI+LibJS: Move JS syntax highlighter to LibJS
...
This is a little bit messy but the basic idea is:
Syntax::Highlighter now has a Syntax::HighlighterClient to talk to the
outside world. It mostly communicates in LibGUI primitives that are
available in headers, so inlineable.
GUI::TextEditor inherits from Syntax::HighlighterClient.
This let us to move GUI::JSSyntaxHighlighter to JS::SyntaxHighlighter
and remove LibGUI's dependency on LibJS.
2021-02-07 16:56:02 +01:00
Andreas Kling
43c7d7d285
LibSyntax: Move GUI::Highlighter to Syntax::Highlighter in LibSyntax
...
This is a move towards dropping more LibGUI dependencies.
2021-02-07 15:15:10 +01:00
Andreas Kling
ff2438e0ce
LibGUI+LibCpp: Move C++ syntax highlighter to LibCpp
...
This makes LibGUI not depend on LibCpp.
2021-02-07 14:40:36 +01:00
asynts
eea72b9b5c
Everywhere: Hook up remaining debug macros to Debug.h.
2021-01-25 09:47:36 +01:00
asynts
acdcf59a33
Everywhere: Remove unnecessary debug comments.
...
It would be tempting to uncomment these statements, but that won't work
with the new changes.
This was done with the following commands:
find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec awk -i inplace '$0 !~ /\/\/#define/ { if (!toggle) { print; } else { toggle = !toggle } } ; $0 ~/\/\/#define/ { toggle = 1 }' {} \;
find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec awk -i inplace '$0 !~ /\/\/ #define/ { if (!toggle) { print; } else { toggle = !toggle } } ; $0 ~/\/\/ #define/ { toggle = 1 }' {} \;
2021-01-25 09:47:36 +01:00
Andreas Kling
4055b03291
DevTools: Move to Userland/DevTools/
2021-01-12 12:18:55 +01:00