-
Notifications
You must be signed in to change notification settings - Fork 18
First approach to show source files #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Thank you for your contribution. I still have your previous round in my repository. What is the goal of having a list of source files? To offer a list of files to open instead of having to search them in the file system? Here is a list of things you should consider to change:
|
Yes, and it was in the TODO list in the website
I did some test in my computer (GNU/Linux) and are stored in UTF-8 in the ELF file. I think that in Unix systems is the standard, so then we can assume that are stored in UTF-8.
Do you have some .clangformat file to apply directly? |
No, but it should amount to
Let me know if this works and if so which editor you are using. Would it be possible to split the commits somehow so that there is not one single commit that adds everything. For example:
Please do not pile "oops, I made an error"-commits on top of other commits; rewrite the original commit instead, so that it looks as if you made it perfect on the first try. |
I use Vim editor. I did some tests to get the best .clang-format based on the current files and for now I got this.
To check and decide. AfterControlStatement
https://clang.llvm.org/docs/ClangFormatStyleOptions.html#bracewrapping AlignTrailingComments Check it and if it's okay push the .clang-format.
If you prefer we can do the split in gdbdriver.cpp Gdb Driver::parseInfoSources to transform it to a list instead of doing in srcfileswindow.cpp.
I'll try to do it |
I did a first approach to show source files in a window, we talked some time ago about this but we didn't continue... maybe now we can retake it