mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-18 17:12:54 +00:00
HackStudio: Integate with C++ parser-based autocomplete
By default, C++ auto completion will still be performed by the lexer-based logic. However, the parser-based logic can be switched on via the menubar.
This commit is contained in:
parent
8ed96eb27c
commit
fa18010477
Notes:
sideshowbarker
2024-07-18 22:49:28 +09:00
Author: https://github.com/itamar8910
Commit: fa18010477
Pull-request: https://github.com/SerenityOS/serenity/pull/4977
Reviewed-by: https://github.com/alimpfard
14 changed files with 70 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
#include "other.h"
|
||||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
#include "other.h"
|
||||
|
||||
enum TestEnum {
|
||||
ValueOne,
|
||||
|
@ -13,11 +13,17 @@ struct MyStruct {
|
|||
TestEnum test_value { ValueOne };
|
||||
};
|
||||
|
||||
struct Container {
|
||||
MyStruct inner;
|
||||
int index;
|
||||
};
|
||||
|
||||
int main(int, char**)
|
||||
{
|
||||
MyStruct my_struct;
|
||||
my_struct.status = !my_struct.status;
|
||||
printf("my_struct.x is %d\n", my_struct.x);
|
||||
Container container;
|
||||
for (int i = 0; i < 3; ++i) {
|
||||
// This is a comment :^)
|
||||
func();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue