Opened 14 years ago

Last modified 13 years ago

#176 assigned enhancement

Apropos dialog should display a little bit more information about the symbols

Reported by: joswig Owned by: rme
Priority: normal Milestone: Cocoa IDE v1
Component: IDE Version:
Keywords: funded Cc:


The Apropos dialog displays a list of Symbols.

There should be more information about the symbols:

a) Is it external/inherited/internal?

b) There should be a columns for small icons (small capital letter on colored background?) displaying: does it name a class, a function (macro, special form), has it a value, a property list, is it a hemlock command, a type, ...?

Clicking on one of the icons should edit the definition (class, function, variable, type, ...).

Moving the mouse over one of the icons could display a small transparent window with a rendering of the corresponding documentation string.

There could also be a small line above the displayed results, where one could select to only search in external symbols. Small check boxes aligned in the column of above icons also could filter the search for examples to display only classes.

It would also save keystrokes if the search is 'live' - typing characters displays the results without the need to press the return key.

Change History (9)

comment:1 Changed 14 years ago by rme

  • Owner changed from gb to rme

comment:2 Changed 14 years ago by rme

I made a few improvements in r7643.

  • can search in a selected package
  • can limit results to external symbols only
  • crudely displays available documentation for selected symbol

There's clearly more that could be done here, but I'm going to check this in and leave it for a little while. If someone else wants to hack on it, please feel free.

The inspector may also be a better place for some of this functionality.

comment:3 Changed 14 years ago by joswig

Some comments:

  • it should be a normal window, no need to have it floating in front
  • empty name line should find all symbols (constrained by the other options)
  • for variables and other symbol types, different information (other than arglist) should be printed
  • if I click on kind or symbol, the whole column will be blueish, only the heading should change color
  • it should be possible to use command-c to copy a cell content
  • I still would want to be able to find the source for a symbol (variable, function, ...)
  • the right click menu only shows non-selectable options (grey)
  • under package, I also want to be able to type and use a package nickname (say, CL for COMMON-LISP)

comment:4 Changed 14 years ago by rme

Addressed some of these issues in the trunk as of r8522.

comment:5 Changed 13 years ago by rme

  • Milestone set to Cocoa IDE Improvements
  • Priority changed from major to normal
  • Version 1.1 deleted

comment:6 Changed 13 years ago by rme

  • Keywords funded added

comment:7 Changed 13 years ago by jaj

  • Milestone changed from Cocoa IDE Improvements to Cocoa IDE v1

comment:8 Changed 13 years ago by rme

  • Status changed from new to assigned

comment:9 Changed 13 years ago by rme

From ticket:159:

I'd like to be able to type "foo bar" (without the quotes) to search for symbols that contain both "foo" and "bar" in their names.

Note: See TracTickets for help on using tickets.