Victor Rybynok
Victor Rybynok
@ananthakumaran Thank you for the tide mode, and for your reply to this "accidental PR"! To me tide was (and still is) the first proper environment for JavaScript development (via...
I found what is the purpose of ```$virtual``` in yarn 2: https://yarnpkg.com/advanced/pnpapi#resolvevirtual https://yarnpkg.com/advanced/lexicon#virtual-package and in yarn 2 code: https://github.com/yarnpkg/berry/blob/5f0439a087b8463d97fb70c96dc6f983a91be512/packages/yarnpkg-fslib/sources/VirtualFS.ts#L14 Basically, the virtual part of the package path is used in...
As it turns out, ```$$virtual/*/0/``` part cannot be just striped out from the yarn 2 virtual path: https://github.com/yarnpkg/berry/issues/499#issuecomment-539458981 The algorithm explained by [arcanis](https://github.com/arcanis) at the link above is quite simple...
@gamb I have done a similar fix just yesterday with advice-add() in tide-jump-to-filespan(). tide-get-file-buffer() seems to be a better fix point. I hesitated to publish Subj. issue here as there...
Here is a "naive" implementation of ```tide-get-file-buffer()``` which can open files in zip archives using archive mode, stripping ```/$$virtual/...``` part, avoiding tramp and auto-opening "zip buffer": ```elisp (defun tide-get-file-buffer:override (file...
Good idea on generalized support for zips! I would extend it further on all archives supported by ```arc-mode```. Also, there is a possibility of having a ```directory-name.zip``` which would not...
Here is a patch for Yarn 2 paths shown in ```eldoc``` ```elisp (defun tide-eldoc-maybe-show:override (text) (with-demoted-errors "eldoc error: %s" (and (or (tide-eldoc-display-message-p) ;; Erase the last message if we won't...
I thought to keep two issues separate. Also, not sure if it is the best point to filter edoc messages, but can't find any better. Advice is for folks waning...
@gamb the @asteroidcow code seems to be coming from my push request #394 I have done some more refactoring since then and extracted "yarn 2 - related tide augmenting" to...
Further update on yarn 2 and yarn 3 pnp developments! yarn 3 introduces a slightly different virtual paths schema that breaks all previous code - including my ```tide-yarn2.el``` and PR....