Comments (64)
Actually I got this fixed by creating a Default (OSX).sublime-mousemap
—where (OSX)
would be (Linux)
for Linux and (Windows)
for Windows—in <path to Sublime configuration>/Packages/User
.
You can find your Sublime configuration directory by going in Preferences > Browse Packages...
and in the User
directory.
[
{
"button": "button1",
"modifiers": ["alt"],
"press_command": "drag_select",
"command": "elixir_goto_definition"
},
{
"button": "button1",
"modifiers": ["shift"],
"press_command": "drag_select",
"press_args": {"extend": true}
}
]
This will overwrite ElixirSublime's default mouse mapping configuration.
You can set the modifiers
to anything you want. I chose alt
. If you then hold your modifier key and click on a definition, it would go to the Elixir documentation for that definition.
from elixirsublime.
+1, uninstalled for this reason :(
from elixirsublime.
The worst part of this mousemap is it's not even scoped to Elixir, so it breaks shift-clicking for other languages too.
I'm just deleting ElixirSublime/Default (OSX).sublime-mousemap.
from elixirsublime.
This appears to be fixed in issue #31 (June 2016). It doesn't look like a new version was pushed up to Package Control. A new release to Package Control should allow this to be closed
from elixirsublime.
I finally switched to https://github.com/elixir-editors/elixir-tmbundle which does anything I cared about from this package without the "Breaks shift+click for selection" bug.
from elixirsublime.
+1
@vishnevskiy any plans to change Shift+Click
to something that doesn't conflict with standard selection behavior? Or at least maybe there is a way to scope this only to Elixir source files?
from elixirsublime.
Observed on ST 3083 as well, disabling ElixirSublime is the only "workaround" I've been able to find. Log output is:
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 556, in run_
return self.run(edit)
File "/Users/yurigadow/Library/Application Support/Sublime Text 3/Packages/ElixirSublime/elixir_sublime.py", line 218, in run
if session.send('GOTO', selection):
File "/Users/yurigadow/Library/Application Support/Sublime Text 3/Packages/ElixirSublime/elixir_sublime.py", line 189, in send
self.socket.send(str.encode(cmd))
AttributeError: 'NoneType' object has no attribute 'send'
from elixirsublime.
Still broken
from elixirsublime.
Just faced the same problem, had to disable the package immediately.
from elixirsublime.
It took a while to figure out what was the problem. Why was the update not pushed though?
from elixirsublime.
This is still a problem almost four years since the creation of this issue
from elixirsublime.
I finally got around to googling what was causing this, and just uninstalled it since I don't use Sublime for Elixir dev anymore :(
from elixirsublime.
+1, this is frustrating. I use shift-click for selection all the time and couldn't figure out why it was broken until I tried uninstalling packages one by one. I think this plugin should merely provide the "elixir_goto_definition"
command without forcing a particular shortcut, then tell people how to make their own keyboard shortcut to it in the README.
from elixirsublime.
+1, Uninstalled for the same reason...please fix this one!
from elixirsublime.
+1 This has been a problem for me since I installed it back in December. I also vote for @jamesmacaulay's solution to this problem. It could conflict with other shortcuts, and I'd also like to pick my own shortcuts.
from elixirsublime.
@fnky Thank you! That works for me too.
from elixirsublime.
+1, thought I was going mad!
from elixirsublime.
👍
from elixirsublime.
👍 Could not figure this out for the life of me. I thought I messed up some setting on my personal computer and I knew that would've been finding a needle in a haystack and I just couldn't be bothered. The google'ing was tough, I hope others find this easily. Shift+Click is so useful. I'm surprised they changed that behaviour, usually it's command+click or alt+click for function/method info
from elixirsublime.
+1
from elixirsublime.
+1
from elixirsublime.
+1
Issue still present with Sublime Text 3 - build 3103
, and version 1.0.4
of the plugin.
from elixirsublime.
@tompave I have the exact same version for both and the issue's been fixed. I added a file named ElixirSublime (User).sublime-mousemap
to: ~/Library/Application\ Support/Sublime\ Text 3/Packages/User
and added the above settings. Try that out
from elixirsublime.
+1
from elixirsublime.
+1, uninstalled for this reason
from elixirsublime.
+1 @fnky - thank you
from elixirsublime.
+1
Incredibly annoying. thanks @fnky
from elixirsublime.
It does not work on my Sublime (build 3103). Any idea why? @fnky
from elixirsublime.
+1. This is beyond frustrating. Also deleted ElixirSublime/Default (OSX).sublime-mousemap
.
from elixirsublime.
+1
from elixirsublime.
@fnky thank you so much, that was a huge help - that was driving me fucking crazy
from elixirsublime.
+1
from elixirsublime.
+1
from elixirsublime.
+1
from elixirsublime.
👍
from elixirsublime.
+1
from elixirsublime.
+1
from elixirsublime.
This was driving me mad. Thanks for pointing out this issue.
from elixirsublime.
+1
from elixirsublime.
+1
from elixirsublime.
+1
from elixirsublime.
+1
on the same ⛵️
from elixirsublime.
+1
from elixirsublime.
+1
from elixirsublime.
+1
from elixirsublime.
@vishnevskiy Can you please push an updated version to package control to fix the mouse issue?
from elixirsublime.
+1
from elixirsublime.
+1
from elixirsublime.
+1
from elixirsublime.
+1
from elixirsublime.
+1
from elixirsublime.
+1
from elixirsublime.
Sigh.
from elixirsublime.
+1 annoyed me for almost one whole year
from elixirsublime.
+1
from elixirsublime.
+1
from elixirsublime.
+1
from elixirsublime.
Removed for this reason too
from elixirsublime.
+1
from elixirsublime.
+1
from elixirsublime.
from elixirsublime.
Uninstalled. :(
from elixirsublime.
Actually I got this fixed by creating a
Default (OSX).sublime-mousemap
—where(OSX)
would be(Linux)
for Linux and(Windows)
for Windows—in<path to Sublime configuration>/Packages/User
.You can find your Sublime configuration directory by going in
Preferences > Browse Packages...
and in theUser
directory.[ { "button": "button1", "modifiers": ["alt"], "press_command": "drag_select", "command": "elixir_goto_definition" }, { "button": "button1", "modifiers": ["shift"], "press_command": "drag_select", "press_args": {"extend": true} } ]This will overwrite ElixirSublime's default mouse mapping configuration.
You can set the
modifiers
to anything you want. I chosealt
. If you then hold your modifier key and click on a definition, it would go to the Elixir documentation for that definition.
That's it, all about the Elixir, :)
from elixirsublime.
Have not been using ElixirSublime for a long while, closing.
from elixirsublime.
Related Issues (20)
- Understand Umbrella Projects HOT 1
- Create closing `end` when writing `do` HOT 2
- Elixir v1.1.0 autocomplete HOT 5
- Multiple Erlang/Elixir processes leak HOT 11
- Not getting proper Code completion and strange behaviour in Ubuntu HOT 6
- Code completion not working HOT 52
- For other ed?
- Plugin creates folders when typing File.mkdir HOT 2
- New Hex versions break the plugin
- Compilation error (Module HelloPhoenix.Web is not loaded) HOT 3
- Sublime doesn't recognize ex files HOT 1
- Is this supposed to work on Elixir v1.3.2 ? HOT 1
- How to fix use error HOT 5
- Struct undefined, cannot expand struct HOT 9
- Default arguments screw up color scheme HOT 1
- Key bindings to Mix
- Doesn't seem like 02ac5ffd936fd03220e7ad8cc01b7de923cc2258 has been published to Package Control HOT 2
- Autocomplete not working on windows HOT 1
- FileNotFoundError: [Errno 2] No such file or directory: 'mix' HOT 5
- Linter fails with Sublime Linter 4 on umbrella projects
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elixirsublime.