Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2585

Allow to obtain the cursor position of the current active editor window

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0.Beta3
    • Fix Version/s: 3.0.0.Beta4
    • Component/s: UI - API
    • Labels:
      None

      Description

      For background see: https://github.com/fabric8io/fabric8/issues/5625

      It would be great if a forge command can obtain information about what is the current active window and the cursor position.

      Essentially what we would like to know is that if the end user is currently editing a file, such as java or xml, and if so, what is the current cursor position in that file, or line number / column number etc.

      Then the commands can use that to react accordingly. For example in fabric8 we want to be able to find out if the cursor is positioned in a Camel route and then let the command be smart to use that route etc.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gastaldi George Gastaldi
              Reporter:
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: