Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in

Robert Monfera

Avatar
  • Total activity 4
  • Last activity February 05, 2021 08:57
  • Member since February 05, 2021 08:05
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 1
Activity overview Posts (0) Comments (3)
  • Robert Monfera commented, February 05, 2021 08:57
    Further notes:  the hits seem to be a bit unreliable, eg. the 1st hit is to the *former* location of the file (I'm using this b/c the file is not where the link points to); there's no file there a...
    1. Community
    2. WebStorm
    3. How do I get the relative path from one file to another (for example, when importing another file) in WebStorm?
    • 0 votes
  • Robert Monfera commented, February 05, 2021 08:11
    Oh nvm it actually works on the Mac in imports, as described (ctrl-space, twice); it just didn't work in a `jest.mock('fileName')` where I needed it. I couldn't look up the name of the command in K...
    1. Community
    2. WebStorm
    3. How do I get the relative path from one file to another (for example, when importing another file) in WebStorm?
    • 0 votes
  • Robert Monfera commented, February 05, 2021 08:05
    This might work on Windows, but this, or other [modifier] + space twice, don't work on Mac. Also, the name of the command that's linked to the Windows shortcut isn't mentioned. When I search for 'p...
    1. Community
    2. WebStorm
    3. How do I get the relative path from one file to another (for example, when importing another file) in WebStorm?
    • 0 votes
Copyright © 2000– JetBrains s.r.o.