martonsagi / al-object-designer

AL Object Designer for Dynamics 365 Business Central development
MIT License
39 stars 21 forks source link

Usability request #16

Closed Bleika closed 4 years ago

Bleika commented 5 years ago

Hi again :-)

I've been using your extension a lot today, and I've come to miss one thing:

Many of us (at least the dinosaurs) still recall most Object IDs. Obviously you also manage the different Object Names in most cases, but it isn't always so. I.e.: I'm working on WMS right now and the names are impossible to know by memory (all the different abbreviations, hyphens, dots, etc.). In fact they're so messy that even IntelliSense gets lost... (you can try that on Codeunit 7324 "Whse.-Activity-Post"... yuck!!)

To solve this, I've been jumping to the old Developer Environment just to copy the Object Name.

On your object list, if you click on an Object Name it opens the Object definition.

Do you think it would be possible to right-click just to copy the Object Name?

martonsagi commented 5 years ago

Good idea. Sure, I think it is possible to utilize right-click event this way.

martonsagi commented 5 years ago

Hm, right-click events are disabled in VS Code WebViews, so that is not an option...

How about a new setting that would control how left clicking on Object Name should behave? E.g. a checkbox like "Copy Object Name to clipboard on mouse click instead of Symbol loading."

Not ideal but at least you could set different settings per workspace.

image

Bleika commented 5 years ago

I don't know if that is productive because you'd like to have both options... Would it be possible to add it to the Contextual Menu? image

martonsagi commented 5 years ago

I have been working on several updates, kept this one in mind as well. I am using a new grid component that allows text selection/editing by double-clicking or hitting Enter on a table cell. This feature is activated for "Name" column. So double-clicking on the name cell, except the link, should show you the selected text that can be copied with ctrl+c.

This is available in 0.0.7-alpha build

al-table-designer_markedonly