royqh1979 / redpanda-cpp Goto Github PK
View Code? Open in Web Editor NEWA light-weight C/C++ IDE based on Qt
License: GNU General Public License v3.0
A light-weight C/C++ IDE based on Qt
License: GNU General Public License v3.0
如题,喜欢tabnine还买了会员
若一条预处理语句 #include
中包含的文件错误地为一个目录时, Ctrl + Click
该预处理语句将导致 RedPandaIDE
崩溃。
平台: Windows 7
版本: beta.0.13.2
Portable
Windows给出的问题详细信息:
问题签名:
问题事件名称: BEX64
应用程序名: RedPandaIDE.exe
应用程序版本: 0.0.0.0
应用程序时间戳: 61e24060
故障模块名称: RedPandaIDE.exe
故障模块版本: 0.0.0.0
故障模块时间戳: 61e24060
异常偏移: 0000000001513560
异常代码: c0000005
异常数据: 0000000000000008
OS 版本: 6.1.7601.2.1.0.256.48
区域设置 ID: 2052
其他信息 1: 56a4
其他信息 2: 56a49a64bbdb62bb7501a2b3354ddaa9
其他信息 3: ec04
其他信息 4: ec043cc7a1f4b5bc8d914e5a1cd32cfc
在 debug 过程中,常常下断点。
但是点击 "代码格式化" 按钮之后,断点会被自动清除。
希望实现 “点击代码格式化按钮后,不移除断点”。
Is it possible to translate your program beyond the two available languages, which files would need to be changed to achieve this?
运行参数 能否保存在项目文件中,而非IDE 的配置文件中
且此功能 最合适 的是移动到 项目属性 下,而非IDE选项中,此功能正常来说是属于项目管理的
而非IDE配置
The RedPanda-C++ hangs and crashes when running test cases as the program outputs a number of data.
Please try the following code and add a test case:
#include <iostream>
int main(int argc, char** argv) {
while (true) {
cout << "Give it up";
}
return 0;
}
Click Run All Cases
, and RedPanda-C++ stops responding.
I'm not sure if this is a bug, but my friend was annoyed about that.
Any chance for 32 bit Windows version?
系统: deepin20.6
版本: 1.0.6
问题:
1.在软件内文件夹右键创建文件,不会在软件中标显示新建的文件。但是从终端以及系统自带文件管理中可以看到生成了 ”无标题.c"文件。
2.创建了文件夹后想重命名,但是重命名时文件夹名字没有明显标识被选中,导致以为文件夹名字没有选中修改。
感谢作者,希望能解决以上问题。谢谢
ConsolePauser is not working correctly. It closes only by pressing Enter, as if it is waiting for input.
Problem set changes in the Problem Case are not saved automatically. When saving an already created file, the save window opens again with a request for the file name.
The check in the Problem case is sensitive to spaces. For example, the answer 3_3_ is incorrect if 3_3 is correct. Probably in the checker you need to provide for ignoring the last spaces and newline characters.
If a window is already open, opening another file(via double-click in File Explorer) will open up a new window, instead of a new tab. This is a great inconvenience because it makes it more tedious to switch between files. Considering it already supports multi-tabbing, this should be pretty easy to do.(Note: Orwell Dev-C++ does reuse windows(and support multi-tabbing)).
Note: Using File -> open opens a new tab in the same window, and so does dragging&dropping a file into the window.
Maybe you are having a problem of communicating between the newly launched process for opening a file and the already-open window?
Chinese version:(I am actually Chinese so this isn't translated using a translator)
即使已经有打开的窗口了,双击文件还是会打开新窗口,而不是在已有的窗口里打开一个标签页。这样很不方便,因为切换文件变得更麻烦了。Red Panda Dev-C++已经支持多标签页了,所以这应该不难实现。(注:Orwell Dev-C++会重用窗口,可以参考一下Orwell的代码)
使用文件->打开
菜单项,或拖拽文件进编辑器窗口会打开新标签页,而不是新窗口。
可能你们不能让为打开新文件启动的进程通知已有的窗口添加标签页?
菜单 项目 -> 清理构建文件
ide停止工作
希望编译器设置选项中增加只生成预编译代码(-E)的选项, 以便于学习和调试宏代码, 设置项的位置可放在当前"只生成汇编代码(-S)"选项所在的"输出"tab页.
Why is no suggestions by Ctrl+Space?
适应国产操作系统统信uso系统和乌班图linux系统吗?
tools- parameters - font - gutter
Parameter Left, Right ofset are not saved after the change and do not show the current value correctly.
Suggestion, add a parameter that allows message windows (windows bars: Problem, Debug, Compile log, Issues ...) to move to the right side of the screen.
SDL_bgi对BGI的兼容性非常高, 而且经测试SDL_bgi还能通过emscripten编译为wasm在浏览器中运行(需自行编译SDL_bgi.o), 因此建议IDE也能搭载SDL_bgi库并在未来能支持emscripten编译和启动浏览器执行, 毕竟能通过Web直接分享自己的作品对于学习者是很令人兴奋的事. 另外当前IDE已经搭载的raylib官方就直接支持emscripten编译, 所以用raylib来开发在线小游戏等作品也是很方便的.
以下是我使用的编译选项(注意: 由于wasm平台的差异, 需对sdlbgidemo.c代码稍作调整才行, 具体可参考https://www.jamesfmackenzie.com/2019/11/30/whats-is-webassembly-hello-world/)
SDL_bgi-2.5.1\src>emcc -gsource-map sdlbgidemo.c SDL_bgi.o -o sdlbgidemo.html --embed-file logo.bmp --embed-file plasma.bmp --source-map-base / -pthread -sUSE_SDL=2 -s ASYNCIFY -s ALLOW_MEMORY_GROWTH=1 -s USE_PTHREADS=1 -s PTHREAD_POOL_SIZE=8 -s OFFSCREEN_FRAMEBUFFER=1
如题 刚用就遇到两三个影响使用的问题
第一是 关闭程序无响应,WIN7 X64系统
第二是 无法关闭标签
项目管理列表标签能否横向排列,并锁定
项目文件能否 按照 源文件 头文件 资源文件 分类显示
项目目录 下 能否将可执行文件 .rc文件与其它资源文件单独一个目录
Version 0.9.0
Option "Move caret to the first non-space char in the current line when press HOME key" seems do not work fine.
比如 QString.midref 要换成 QstringView.mid
There is another PR for the translation into Portuguese, but I had this one already advanced for Brazilian Portuguese. There are small differences between the language practiced in the country and in Portugal, so I send an attachment file that may be useful for future translations.
As there is another person interested in the translation, I hope you can get more contributions for revisions and improvements.
I have kept some original English terms as I consider them to be in popular use, such as those about git.
Some typos in the .ts file have also been fixed, in case it might be helpful.
Taking this opportunity, it would be useful to have the option to Open Terminal Here, in the current file folder, when it is a single file, not linked to any project. For beginners this can make testing runs outside the IDE a lot easier.
Hey, you have a changelog but you haven't released anything yet. When can we expect the first release?
1、Win10+VS2019 x64+Qt5.12.11,RedPanda-CPP源码版本master,v1.0.9,编译出错,缺乏依赖库
那么以下pro文件需要新增依赖库
(1)RedPandaIDE.pro
(2)redpanda-win-git-askpass.pro
win32-msvc {
LIBS+=-ladvapi32
LIBS+=-luser32
}
(3)astyle.pro
win32-msvc {
LIBS+=-lShell32
}
总之,需要自己手动加上依赖库,如此才能正常编译通过。
2、Win10+VS2019 x64+Qt5.12.11,RedPanda-CPP源码版本master,v1.0.9,编译通过了,但是又遇到一个新问题:
源码编译之后,运行RedPandaIDE.exe,主界面会卡死,鼠标点不了,没有反应。
Old C-Style enum variable definitions like "enum Test test;" can't be correctly parsed.
默认dark主题感觉和配色不是很搭
Version 0.8.11 For Dev-C++ 7 Beta
On laptop the HOME and END keys on the numeric keypad (NumPad) do not work in the editor. The cursor does not respond to pressing them.
Works fine in other programs (Dev-CPP, for example).
When changing the input language, the CTRL + / button combination for comments does not work.
首先感谢大佬的无私奉献,RedPanda-CPP是我在windows平台上用过的对初学者最友好的C/C++ IDE.
下面是我开发过程中觉得还可以进行完善的一些点:
1、在对当前文件最后一段函数进行代码折叠后,无法直接选中尾部的大括号键入回车,这将导致:在习惯性折叠最后一段函数后,如果忘记事先在函数外部键入回车,则除非重新打开折叠的代码,否则无法在这个函数下面再写新的函数。
2、希望可以加入“一键折叠代码”功能。
3、查找功能希望可以做成类似在 VS CODE中的悬浮窗,标出查找结果个数、高亮查找结果、能通过按钮使光标多个查找结果中切换,而无需再次使用CTRL+F。
I am writing code in a Windows VM under Ubuntu. Every time the Linux Kernel Memory Compact triggered, the RedPanda Dev-C++ in Windows VM 'crashes': It's UI was closed, but the process was still running in the background. How to solve this problem, or is it a bug?
Some functions in RedPanda-C++ has not implemented like spliting the editor with Control+M
and symbol renaming, since they are supported in the legacy version 6.7.5.
Will these functions be implemented? If not, any alternatives?
建议搞个改默认编码的设置,现在写东西VSC和RPC一起用有点难受(想要默认UTF8)
Currently the application is installed into /opt
. This is perfectly fine for a third-party additional app, yet this is forbidden when the app intends to be part of Linux distribution. For details, please see https://lintian.debian.org/tags/dir-or-file-in-opt .
This means that the current build system needs to be refactored to follow FHS specification and install under /usr/. The best choice is to adopt the concept of $prefix
, which defaults to /usr
for packaged apps and /usr/local
for user-built programs. For more information about the concept of $prefix
, please see https://askubuntu.com/questions/891835/what-does-prefix-do-exactly-when-used-in-configure .
I know that qmake
has rather poor support for $prefix
. Though migrating to CMake
could be a good choice, there are established rules on using $prefix
in qmake buildsystem. For example, place the following snippet at the beginning of top-level .pro
file:
APP_NAME = RedPandaIDE
isEmpty(PREFIX) {
# PREFIX = /opt/$${APP_NAME}/
PREFIX = /usr/local/
}
When later building the project, the user can specify the detailed value for $PREFIX
:
qmake PREFIX=/usr
This applies to official Linux distributionsqmake PREFIX=/opt/RedPandaIDE
This will install all files under /opt/ as beforeqmake
The call without arguments will install files under /usr/local/
.Similarly, your files should all go into $prefix
and adhere to current FHS specification. For example:
$prefix/bin/RedPandaIDE
(maps to /usr/bin/RedPandaIDE
) for your main program$prefix/libexec/RedPandaIDE/consolepauser
(maps to /usr/libexec/RedPandaIDE/consolepauser
for your privately-used executables. If you intend to place those executables in $PATH
so that it is system-wide visible, consider using /usr/bin/consolepauser
instead. NOTE: please also avoid file collisions. For example, https://tracker.debian.org/pkg/astyle also provides /usr/bin/astyle
and I am not sure if they have the same functionality.$prefix/share/applications/redpandaide.desktop
(maps to /usr/share/applications/redpandaide.desktop
) for your .desktop
file$prefix/share/RedPandaIDE/templates
(maps to `/usr/share/RedPandaIDE/templates/) for your private, architecture-independent files$prefix/share/docs/RedPandaIDE/README.md
(maps to /usr/share/docs/RedPandaIDE/README.md
) for your documentations$prefix/share/pixmaps/redpandaide.png
(maps to /usr/share/pixmaps/redpandaide.png
) for your pixmap iconI believe this is doable with QMake, and allowing installation that does not involve with /opt/
is also a prerequisite for entering Linux distributions. Let me know if you have any questions.
Your project contains non-free source code files related to Unicode Inc:
You may find detailed explanation at https://lintian.debian.org/tags/license-problem-convert-utf-code .
This issue prevents your project from being packaged in Linux distributions such as Debian. Please consider fixing it by using alternative implementation like libicu instead.
Thank you for your work.
But RedPanda.C++.1.1.0.win64.No.Compiler.Portable when you create a new file from a template, the cursor moves to the bottom of the file and the text is hidden.
The ideal placement on the tab Problem input, output, expected was not columns but three lines. (When posting messages on the right)
版本 beta0.8.1
试题集 无法禁用,取消后依然默认选中
无法自定义项目文件夹路径
新建console项目默认生成.rc文件,而目录中 可执行文件与ico文件 都在一块,辨识度属实偏低
编辑txt文件时输入左括号(
导致崩溃,但[
则不会。另外,建议加入对其他种类文件(比如markdown)的高亮显示。
Version 0.9.0
"Enable Problem set" option is not saved between sessions.
CI编译失败
环境:
Windows 2019
Qt 5.15.2
win64_mingw 8.1.0
https://github.com/EldersJavas/RedPanda-CPP/runs/3987835094?check_suite_focus=true#step:7:211
g++ -c -fno-keep-inline-dllexport -O2 -Werror=return-type -std=gnu++1z -Wall -Wextra -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I. -I../../Qt/5.15.2/mingw81_32/include -I../../Qt/5.15.2/mingw81_32/include/QtPrintSupport -I../../Qt/5.15.2/mingw81_32/include/QtWidgets -I../../Qt/5.15.2/mingw81_32/include/QtGui -I../../Qt/5.15.2/mingw81_32/include/QtANGLE -I../../Qt/5.15.2/mingw81_32/include/QtCore -Irelease -I. -I../../Qt/5.15.2/mingw81_32/mkspecs/win32-g++ -o release/environmentfileassociationwidget.o settingsdialog/environmentfileassociationwidget.cpp
settingsdialog/environmentfileassociationwidget.cpp: In function 'bool writeRegistry(HKEY, const QByteArray&, const QByteArray&)':
settingsdialog/environmentfileassociationwidget.cpp:199:14: error: 'RegSetKeyValueA' was not declared in this scope
result = RegSetKeyValueA(
^~~~~~~~~~~~~~~
settingsdialog/environmentfileassociationwidget.cpp:199:14: note: suggested alternative: 'RegSetValueA'
result = RegSetKeyValueA(
^~~~~~~~~~~~~~~
RegSetValueA
settingsdialog/environmentfileassociationwidget.cpp: In member function 'bool FileAssociationModel::unregisterAssociation(const QString&)':
settingsdialog/environmentfileassociationwidget.cpp:227:14: error: 'RegDeleteTreeA' was not declared in this scope
result = RegDeleteTreeA(HKEY_CLASSES_ROOT,extension.toLocal8Bit());
^~~~~~~~~~~~~~
settingsdialog/environmentfileassociationwidget.cpp:227:14: note: suggested alternative: 'RegDeleteKeyA'
result = RegDeleteTreeA(HKEY_CLASSES_ROOT,extension.toLocal8Bit());
^~~~~~~~~~~~~~
RegDeleteKeyA
settingsdialog/environmentfileassociationwidget.cpp: In member function 'bool FileAssociationModel::unregisterFileType(const QString&)':
settingsdialog/environmentfileassociationwidget.cpp:241:14: error: 'RegDeleteTreeA' was not declared in this scope
result = RegDeleteTreeA(HKEY_CLASSES_ROOT,fileType.toLocal8Bit());
^~~~~~~~~~~~~~
settingsdialog/environmentfileassociationwidget.cpp:241:14: note: suggested alternative: 'RegDeleteKeyA'
result = RegDeleteTreeA(HKEY_CLASSES_ROOT,fileType.toLocal8Bit());
^~~~~~~~~~~~~~
RegDeleteKeyA
mingw32-make[2]: *** [Makefile.Release:17325: release/environmentfileassociationwidget.o] Error 1
mingw32-make[2]: Leaving directory 'D:/a/RedPanda-CPP/RedPanda-CPP/RedPandaIDE'
mingw32-make[1]: *** [Makefile:45: release] Error 2
mingw32-make[1]: Leaving directory 'D:/a/RedPanda-CPP/RedPanda-CPP/RedPandaIDE'
mingw32-make: *** [Makefile:50: sub-RedPandaIDE-make_first] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.