Skip to content
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

Support for editing library code #4085

Closed
lmihalkovic opened this issue Nov 5, 2015 · 5 comments
Closed

Support for editing library code #4085

lmihalkovic opened this issue Nov 5, 2015 · 5 comments
Assignees
Labels
feature request A request to make an enhancement (not a bug fix)
Milestone

Comments

@lmihalkovic
Copy link

Libraries are a great way to enhance the platform popularity. There is not good technical reason why the IDE cannot be altered to support editing them.

feature should cove

  • initial creation
  • source code editing
  • community submission

Proposed reference design
arduino-2015-11-02 at 1 26 08 pm

(ps: this is actually a limited but working implementation)

@matthijskooijman
Copy link
Collaborator

Cool! I might have missed it, but did you have a PR open with this code? Or do you perhaps just have it pushed to github somewhere so I can take a peek?

@lmihalkovic
Copy link
Author

As I wrote somewhere else, I was having some technical challenges (read: I was twisting myself in the ropes) with altering arduino-builder to support that feature and the customizable link priority scheme I also described, so I had to back-track and implement my own compiler. The redeeming factor is that I made it a config param to switch between all 3 compilers.

@matthijskooijman
Copy link
Collaborator

What changes do you need in arduino-builder for this? To allow modified-but-not-saved library files to be included in the build?

@lmihalkovic
Copy link
Author

At the moment the IDE uses CTL-L to go to a given line of code. In eclipse the default is to use CTRL-G (goto). In the library editor I was thinking about (read: am currently) using CTRL-L for opening the library's folder in the OS navigator (Finder/Explorer/... on Linux).

arduino-2015-11-05 at 11 05 52 am

Does anyone have a better suggestion for OpenLib, or might it be possible to switch CTRL-L to CTRL-G instead?!

PS: the files list is gone because the outline view is more practical, and "show build folder" is for opening the location where the builder is compiling everything (powerHackers might find it easier than to grad it from the console after a compile finishes). So the last section of the menu is for context-dependent (lib, ........) contributed menu items.

@ffissore ffissore self-assigned this Nov 5, 2015
@ffissore ffissore added the feature request A request to make an enhancement (not a bug fix) label Nov 5, 2015
@lmihalkovic
Copy link
Author

Done

@ffissore ffissore modified the milestone: Release 1.6.7 Nov 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

No branches or pull requests

3 participants