Open eparker28 opened 5 years ago
We do have plans to eventually replace the VBE's code panes with our own, so as to support many of the more advanced features that we want to implement - including custom syntax highlighting. Is that what you meant, or "color-code strings" was for something else? Thanks!
That’s exactly what I meant. Thanks!
Sent from my iPhone
On Nov 12, 2018, at 10:30 AM, Mathieu Guindon notifications@github.com<mailto:notifications@github.com> wrote:
We do have plans to eventually replace the VBE's code panes with our own, so as to support many of the more advanced features that we want to implement - including custom syntax highlighting. Is that what you meant, or "color-code strings" was for something else? Thanks!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frubberduck-vba%2FRubberduck%2Fissues%2F4512%23issuecomment-437944655&data=02%7C01%7C%7C87a9c09f6a8b4e4531cd08d648bc1f94%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636776370146665072&sdata=jmX2gC5n0Th%2BwzjP5q5cHj%2BPg9RHveCDTuMocvfQv2M%3D&reserved=0, or mute the threadhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FATPaVfY3EujOzj6O0R9Mg3J8yeWcLT8dks5uuaISgaJpZM4YZ_mE&data=02%7C01%7C%7C87a9c09f6a8b4e4531cd08d648bc1f94%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636776370146665072&sdata=qghmkSjGGvi1Fuak%2BhlirPBmvbzP22yZXgvPcS4WQcI%3D&reserved=0.
@retailcoder Hi Mathieu, I am very interested in replacement of existing editor. Is there some reading for that? Any links, documentation etc
@sharpcoder7 have you looked into twinBASIC? It's still in early stages, but progressing quickly and roadmapped to somehow integrate with VBA. It's an add-in for the VS Code editor, so you get all the perks of a current-day, lightweight IDE, with 100% backward compatibility with VBA/VB6. If I misunderstood your question and you actually meant to ask about how we'd go about implementing our own custom code panes in Rubberduck, we're pretty much in uncharted territory but the idea is to have a single dockable toolwindow that would house WPF/XAML controls like a tear-tab UI with much better docking management than the VBE's; we want an actual status bar, and then the actual editor panes can behave exactly how we code them (block folding, document line numbers, block completion, etc.), and then we can host our current dockable UI (already WPF/XAML) inside that custom editor pane, and only deal with a single COM UI element (other than the menu items). The tech is all there, we just need to learn to use it and make it happen - reading materials include whatever it takes to get AvalonEdit to bend to our collective will, mostly! 🤓
@retailcoder got it, I thought that microsoft have some sort of api for "enhancing" standard editor. I've seen some extensions which adds a lot of useful features like extra syntax highlighting etc, so I thought that they somehow modified the existing editor, but it looks like they just implemented custom windows like you want to. About twinBasic, yes I know that, it looks promising but it is not open source :) I prefer open products. Rubberduck itself is great project but it does not work well with our huge Access application (500 forms, 200 modules, 250 reports O_o). I`ve checked the source code and it should be changed a lot to support such monster applications :( Anyway I just thinking how to improve our development performance and looking for a way to do that :)
It would be nice to have the ability to color-code strings in code (like in Visual Studio). Any plans for such a feature?