This now works for the data tips made by atom-typescript. I need to make SnippetView and HTMLView compatible with React so ide-css data tips can be shown as well.
I also might simplify the ViewContainer class so it uses functional components instead of a class.
Testing it is not that straight forward though (sorry about it)! You need to have Atom, pnpm, and some deps installed.
This now works for the data tips made by atom-typescript. I need to make SnippetView and HTMLView compatible with React so ide-css data tips can be shown as well.
I also might simplify the ViewContainer class so it uses functional components instead of a class.
Testing it is not that straight forward though (sorry about it)! You need to have Atom, pnpm, and some deps installed.
Then:
Now, link this to atom-ide-datatip
For testing:
Reload Atom (Ctrl+Shift+F5), and hover on some word in a JavaScript file. The datatip is made from ViewContainer!
I use two terminals to build projects:
I use two instances of Atom for developing and testing. I edit in one and use the other one for seeing the result (by reloading)ading)