Improved completion information for SObjects/fields and picklist-type fields

Issue #497 resolved
SpringZhang created an issue

Automatically display the label name and API name and data types:

a.png

Automatically display completions for picklist values:

b.png

thanks!

Comments (12)

  1. Scott Wells repo owner

    This is definitely an interesting idea. I hadn't really thought about the first proposal of showing the display name in the completion info, but I had definitely considered adding completion for known picklist values. I'll definitely take a look at this in the future.

  2. Scott Wells repo owner

    Partial delivery in 1.7.9.2 which includes code completion for picklist field values.

  3. Scott Wells repo owner

    Note that I've slightly changed completions for picklist values in 1.7.9.3 such that they now require the completion trigger (typically Ctrl+Space) to be activated twice. This is because they were muddying the standard completions in the normal case when they're not used.

  4. SpringZhang reporter

    My computer is Mac and the keyboard shotcut Ctrl+Space has been occupied, how can I update the shotcut? I cannot find any option in setting for me to update the keyboard shotcut, could you please show me the sccreen capture to do the update?

  5. Scott Wells repo owner

    Here you go:

    Keymap.png

    You can just map that back to Ctrl+Space. Let me know if that doesn't help.

  6. SpringZhang reporter

    u1.png

    My concern is when I click shortcut as you mentioned, the results displayed are all picklist values in the system, what I want is the values of the specific field I am filling in.

  7. Scott Wells repo owner

    Understood. I plan to add smart code completion in IC 2.0 which will filter the completions based on the expected data type.

  8. Log in to comment