Skip to content

nickav/DefinitionPreview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Definition Preview

Auto preview function and type definitions in Sublime Text 4 while you work.

No nonsense, no intellisense, it just works (tm) with Sublime Text out of the box.

preview of the plugin with functions

Features

  • syntax-aware popup menu for functions and type definitions
  • emphasizes the current argument in the function you are working on
  • click to jump to definition

Demo

demo of the plugin

Screenshots

preview of the plugin with structs

Future Improvements

This plugin has only been tested with Sublime Text version 4.0. I've also only tested it with C and C-like languages. Your mileage may vary.

Because as far as I could tell, Sublime Text doesn't give you a good way to get the definition source code of a SymbolLocation, we do our own hacky attemp at this. So, sometimes the preview is wrong. If you see something, say something.

We would like to de-duplicate functions in the future. We also would like to support user settings in the future.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published