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

Right-Click Context Menu #8

Open
JoelProminic opened this issue Jan 12, 2022 · 2 comments
Open

Right-Click Context Menu #8

JoelProminic opened this issue Jan 12, 2022 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@JoelProminic
Copy link

A Prominic developer pointed out that the right-click context menu is missing in the updated editor in Moonshine-IDE 3.2.0. This mostly included basic Edit menu features.
image

I remember seeing some language-server features in this menu (for managing imports?) but I couldn't find this with a quick review in Moonshine 3.3.0.

I'd like to bring this menu back, since it may be more convenient for some developers.

@JoelProminic JoelProminic added bug Something isn't working enhancement New feature or request labels Jan 12, 2022
joshtynjala added a commit that referenced this issue Jan 13, 2022
…lete (references #8)

These are are built-in items supported by Flash/AIR. Custom items not yet supported.
@joshtynjala
Copy link
Contributor

I remember seeing some language-server features in this menu (for managing imports?) but I couldn't find this with a quick review in Moonshine 3.3.0.

I don't recall any language server features getting added to this menu. In fact, I have always wanted to add some, like "Go to Definition" and "Rename Symbol", but I wasn't sure the best way to do it.

I'm going to think about the right API design for adding custom menu items before I implement anything more. For now, the built-in clipboard, select all, and delete/clear items that Flash/AIR provide natively are enabled.

@joshtynjala
Copy link
Contributor

Just to get this in the discussion history: OpenFL doesn't currently support the ContextMenu class, so when we switch away from Adobe AIR to the C++ target, we'll need a custom context menu implementation. That can probably be done easily enough by adding a Feathers UI ListView component to the PopUpManager, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants