Roy Qu
306e1b6bc4
Merge branch 'master' of github.com:royqh1979/RedPanda-CPP
2024-04-11 18:59:37 +08:00
Roy Qu
a9295caff2
optimization: make parser methods inline
2024-04-09 22:12:03 +08:00
Roy Qu
1f1d79c094
optimize QHash/QMap iterations
2024-04-09 20:18:10 +08:00
Roy Qu
37c7405311
refactor: openInclude
2024-04-09 19:39:35 +08:00
Roy Qu
35dccca91e
refactor: PParsedFileInfo
2024-04-09 18:19:48 +08:00
Roy Qu
9ef6d1f3e6
refactor: ParsedFileInfo
2024-04-09 18:10:44 +08:00
Roy Qu
edbe230bf7
refactor
2024-04-09 17:15:27 +08:00
Roy Qu
fd062e2f34
refactor: rename FileIncludes to ParsedFileInfo
2024-04-06 17:45:02 +08:00
Roy Qu
648e555fc5
refactor: enum to enum class
2024-04-03 10:37:29 +08:00
Roy Qu
1372ac774f
- enhancement: Support "extern template" in parser.
2024-04-01 10:59:01 +08:00
Roy Qu
4c8e88ce1b
highlights "import"/"module"/"override"/"final"
2024-03-24 17:15:40 +08:00
West-Pavilion
421a227d05
update the C++20 keyword "co_await" from "co_wait" ( #299 )
...
* Updated the Chinese translation for "Goto Page Start and Select"
This PR updates the Chinese translation for "Goto Page Start and Select" to accurately reflect the functionality of the feature.
本次PR更新了“Goto Page Start and Select”的中文翻译,以准确反映该功能的操作。
* update the C++20 keyword "co_await" from "co_wait"
The C++20 introduced a new keyword "co_await", however there is a tiny typo wrong("co_wait") in the current version of RedPanda-CPP. This PR is aimed to correct it.
2024-03-22 15:44:04 +08:00
Roy Qu
172c66c6dc
fix #296 - enhancement: Type induction for "auto &&" vars.
2024-03-21 20:04:02 +08:00
Roy Qu
30cabe2faa
- enhancement: Parse files that contains C++ 20 'concept' keyword. (No code suggesion for concepts now)
...
- enhancement: Parse files that contains C++ 20 'requires' keyword.
- fix: Code suggestions in namespace.
- enhancement: Code suggestions for namespace alias.
- fix: Correctly handle statements like 'using xxx::operator()'.
2023-10-22 13:19:03 +08:00
Roy Qu
dd5640d334
- enhancement: False branches are displayed as comments.
2023-08-17 13:24:08 +08:00
Roy Qu
37df656c82
add more sdcc keywords
2023-08-13 20:57:09 +08:00
Roy Qu
707358817c
- enhancement: Autowrap tool output text.
2023-08-13 15:41:17 +08:00
Roy Qu
738faf0c90
- fix: Crash if close file while auto syntax checking.
...
- enhancement: support sdcc compiler.
2023-08-13 14:46:53 +08:00
Roy Qu
56f03a52d5
- fix: Keyword asm is not correctly parsed.
2023-07-05 09:01:38 +08:00
Roy Qu
4746d1b63c
- enhancement: Code completion for '->' operator on std iterators.
2023-06-08 17:15:55 +08:00
Roy Qu
e44b2999e1
- enhancement: show completion for return type of lambda expressions.
2023-05-26 08:55:21 +08:00
Roy Qu
3440b08d8d
- enhancement: ignore '__extension__' when parsing C/C++ codes.
2023-05-25 18:19:18 +08:00
Roy Qu
f04c7c0221
refactor test for operator
2023-03-12 12:42:44 +08:00
Roy Qu
b246e3d145
refactor check for struct/class/union defines in the parser
2023-03-12 10:50:47 +08:00
Roy Qu
0b0e941155
- fix: Code completion info for stl::map/std::unordered_map is not correct.
2023-03-11 19:56:40 +08:00
Roy Qu
5f75fd97cd
- fix: Result of scope calculation not right if a for statement immediately follows another for statement.
2023-01-10 19:08:49 +08:00
Roy Qu
a6d5da07a3
- enhancement: show compltion suggest for std::pair::first and std::pair second
2022-11-29 16:48:40 +08:00
Roy Qu
407f11aa22
fix: correctly handle For(const auto&)
2022-11-29 15:42:08 +08:00
Roy Qu
0d0332aa7d
- fix: can't correctly show completion suggest for type with template parameters
...
- enhancement: correctly evaluate auto variable of stl container iterator.
2022-11-29 12:06:29 +08:00
Roy Qu
a4cb52fb96
- fix: _Pragma is not correctly handled;
2022-11-12 10:45:53 +08:00
Roy Qu
ef79640eb0
work save
2022-11-04 23:44:11 +08:00
Roy Qu
585d7678d4
work save
2022-11-04 20:27:35 +08:00
Roy Qu
baab677fa1
work done: lambda support
2022-11-02 22:48:25 +08:00
Roy Qu
ab9aa75d1f
work save
2022-11-01 09:02:17 +08:00
Roy Qu
f78a4953ef
work save
2022-11-01 00:01:46 +08:00
Roy Qu
6d2ce9035d
- reduce memory usage when deciding file types
...
- enhancement: refresh project view for git status won't redraw project structure
- enhancement: auto save project options after the compilerset option for project resetted
- enhancement: "." and ".." in paths of issues not correctly handled
2022-10-24 17:23:37 +08:00
Roy Qu
09c7b5e791
fix: "." and ".." in included header paths not correctly handled
2022-10-23 23:06:55 +08:00
Roy Qu
74b250c9d2
work save
2022-10-22 22:10:35 +08:00
Roy Qu
d1d68758aa
work done: refactor cpp parser for project
2022-10-22 19:33:20 +08:00
Roy Qu
829e73895b
- fix: files in network drive is opened in readonly mode
2022-08-06 08:51:53 +08:00
Roy Qu
85f3a04bcf
- fix: #define followed by tab not correctly parsed
...
- enhancement: don't auto add () when completing C++ io manipulators ( std::endl, std::fixed, etc.)
- fix: can't goto to definition of std::endl
2022-06-01 17:02:03 +08:00
Roy Qu
631da69d84
- enhancement: auto complete '#undef'
2022-05-11 20:34:13 +08:00
Roy Qu
44d5453263
- enhancement: use expression processing in syntax highlighting for identifiers
...
- fix: if a function's declaration can't be found, it will be wrongly highlighted as variable
2022-03-08 22:29:15 +08:00
Roy Qu
409091d52b
- enhancement: custome icons for project view
2022-02-13 20:08:18 +08:00
Roy Qu
771ccec745
- enhancement: code completion ui redesigned
2022-01-27 20:31:44 +08:00
Roy Qu
894e587f7d
- enhancement: show parameter tips for class constructors
...
- enhancement: when there are tips showing, don't show mouse tips
2022-01-26 12:17:15 +08:00
Roy Qu
ca9006ff4f
- fix: can't show private & protected members of 'this'
...
- fix: function name like 'A::B' is not correctly parsed
2022-01-25 13:53:55 +08:00
Roy Qu
eff521ed21
- fix: code completion popup won't show members of 'this'
2022-01-25 13:09:36 +08:00
royqh1979@gmail.com
317db42876
add license information
2021-12-26 23:18:28 +08:00
Roy Qu
9fc4b0ff09
- enhancement: run programs in terminal (under Linux)
...
- fix: monospace font doesn't exists under Debian Linux
- fix: files are readonly when opened in editor
2021-12-25 08:23:52 +08:00