Skip to content

Commit

Permalink
Merge pull request #136 from bweave/bweave/add-support-for-vscode
Browse files Browse the repository at this point in the history
fix(VSCode): Turns out no addon required
  • Loading branch information
modosc authored Feb 22, 2018
2 parents b26792f + 6faa4ba commit 2e1cbaa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion rails_panel/assets/javascripts/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ angular.module('RailsPanel', [])
emacs: "emacs://open?url=file://%s&line=%d&column=%d",
atom: "atm://open?url=file://%s&line=%d&column=%d",
mine: "x-mine://open?file=%s&line=%d",
vscode: "vscode://open?file=%s&line=%d"
vscode: "vscode://file%s:%d"
}
var editor = localStorage.getItem("railspanel.editor");
var editorPrefix = mapping[editor]
Expand Down
3 changes: 0 additions & 3 deletions rails_panel/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ <h2>
<label class="radio">
<input type="radio" name="storage.editor" value="vscode" ng-model="editor">
Visual Studio Code
<small>
(<a href="https://github.com/shengyou/vscode-handler" target="_blank">requires vscode-handler</a>)
</small>
</label>
</form>
<div class="footer">Developed by <a href="http://rors.org" target="_blank">Dejan Simic</a></div>
Expand Down

0 comments on commit 2e1cbaa

Please sign in to comment.