vinceFR7528 created an issue (geany/geany-plugins#1420)

Hello Geany Team,

I've been a software engineer for 40 years. I'd like to be able to work with a 
text editor at a conceptual level that's much simpler than reading code, and 
switch or expand the code view to create or modify it. The text of the 
functional view should be reflected in the code as comments.

I would like to propose a new feature for Geany: a "Functional View Mode" 
designed to simplify code reading and navigation. This mode would allow users 
to toggle between the full code view and a design-oriented view. In the design 
view, only comments containing functional descriptions (e.g., /* 
FUNCTION_DESCRIPTION: ... */) would be visible. By clicking on one of these 
descriptions, the associated code block would be displayed and could be edited 
as needed.

Example Use Case:
For instance, a functional description in one line like:
"Removes an element  from the linked list"


Would, when clicked, reveal the following code which can be modified:


 /* FUNCTION_DESCRIPTION: Removes an element from the linked list */
if (pOnde == &pNote->voix_ondes[0]) {
    pOnde->ondePrev = pOnde->ondeNext;  // New head of the list or NULL
    if (pOnde->ondeNext)
        pOnde->ondeNext->ondePrev = NULL;
} else {
    if (pOnde->ondePrev)
        pOnde->ondePrev->ondeNext = pOnde->ondeNext;
    else
        pNote->voix_ondes[0].ondePrev = pOnde->ondeNext;
    if (pOnde->ondeNext)
        pOnde->ondeNext->ondePrev = pOnde->ondePrev;
}


-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1420
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/issues/1...@github.com>

Reply via email to