Coder Social home page Coder Social logo

map-to-intellij's Introduction

MAP TO INTELLIJ IDE

Chrome Webstore Page: https://chrome.google.com/webstore/detail/map-to-intellij-ide/idhgkmnohcikhlciggjinlikclejfmih

About

Override the chrome dev console linking behavior in order to open links to files in your IDE instead of the sources panel. This uses the IntelliJ Platform REST API http://develar.org/idea-rest-api/#api-Platform-file in conjunction with Chrome Developer Tools link handling.

Requirements

  • You must manually set "Link handling" to "Map to IntelliJ IDE". To do this, open Developer Tools > settings (press 3 dots in top right or press F1) > preferences > Extensions > Link handling

  • You must add something like the following to the output portion of your webpack config:

devtoolModuleFilenameTemplate: (info) => 'file://' + path.resolve(info.absoluteResourcePath)

More info: https://webpack.js.org/configuration/output/#outputdevtoolmodulefilenametemplate

Note to devs: This can work with any build-tool that supports customized source mapping, not just webpack.

Authors note: Thanks all for using this little tool I originally only intended for me and my coworkers. Happy you found it useful!

Changelog

  • 0.5 - don't open node_modules in IDE
  • 0.7 map to client folder
  • 0.8 use absolute file paths

License

map-to-intellij is released under the MIT License.

map-to-intellij's People

Contributors

jakeniemiec avatar

Watchers

 avatar  avatar

Forkers

annitya

map-to-intellij's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.