Code Monkey home page Code Monkey logo

Comments (64)

fnky avatar fnky commented on May 29, 2024 97

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.

YayC avatar YayC commented on May 29, 2024 17

+1, uninstalled for this reason :(

from elixirsublime.

nathany avatar nathany commented on May 29, 2024 13

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.

jaydorsey avatar jaydorsey commented on May 29, 2024 3

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.

mcelaney avatar mcelaney commented on May 29, 2024 3

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.

frantic avatar frantic commented on May 29, 2024 2

+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.

ylg avatar ylg commented on May 29, 2024 1

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.

sergiotapia avatar sergiotapia commented on May 29, 2024 1

Still broken

from elixirsublime.

Fire-Dragon-DoL avatar Fire-Dragon-DoL commented on May 29, 2024 1

Just faced the same problem, had to disable the package immediately.

from elixirsublime.

okdas avatar okdas commented on May 29, 2024 1

It took a while to figure out what was the problem. Why was the update not pushed though?

from elixirsublime.

divmgl avatar divmgl commented on May 29, 2024 1

This is still a problem almost four years since the creation of this issue

from elixirsublime.

pavellishin avatar pavellishin commented on May 29, 2024 1

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.

jamesmacaulay avatar jamesmacaulay commented on May 29, 2024

+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.

onlydole avatar onlydole commented on May 29, 2024

+1, Uninstalled for the same reason...please fix this one!

from elixirsublime.

fnky avatar fnky commented on May 29, 2024

+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.

dsander avatar dsander commented on May 29, 2024

@fnky Thank you! That works for me too.

from elixirsublime.

tomduncalf avatar tomduncalf commented on May 29, 2024

+1, thought I was going mad!

from elixirsublime.

murphyslaw avatar murphyslaw commented on May 29, 2024

👍

from elixirsublime.

matrinox avatar matrinox commented on May 29, 2024

👍 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.

rhapsodyv avatar rhapsodyv commented on May 29, 2024

+1

from elixirsublime.

rustyfausak avatar rustyfausak commented on May 29, 2024

+1

from elixirsublime.

tompave avatar tompave commented on May 29, 2024

+1
Issue still present with Sublime Text 3 - build 3103, and version 1.0.4 of the plugin.

from elixirsublime.

matrinox avatar matrinox commented on May 29, 2024

@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.

adoyle-h avatar adoyle-h commented on May 29, 2024

+1

from elixirsublime.

thousandsofthem avatar thousandsofthem commented on May 29, 2024

+1, uninstalled for this reason

from elixirsublime.

TimHeckel avatar TimHeckel commented on May 29, 2024

+1 @fnky - thank you

from elixirsublime.

TJKresch avatar TJKresch commented on May 29, 2024

+1
Incredibly annoying. thanks @fnky

from elixirsublime.

xuanchien avatar xuanchien commented on May 29, 2024

It does not work on my Sublime (build 3103). Any idea why? @fnky

from elixirsublime.

nighthawk avatar nighthawk commented on May 29, 2024

+1. This is beyond frustrating. Also deleted ElixirSublime/Default (OSX).sublime-mousemap.

from elixirsublime.

joaquimadraz avatar joaquimadraz commented on May 29, 2024

+1

from elixirsublime.

andfaulkner avatar andfaulkner commented on May 29, 2024

@fnky thank you so much, that was a huge help - that was driving me fucking crazy

from elixirsublime.

mcelaney avatar mcelaney commented on May 29, 2024

+1

from elixirsublime.

lrascao avatar lrascao commented on May 29, 2024

+1

from elixirsublime.

hsmack avatar hsmack commented on May 29, 2024

+1

from elixirsublime.

konsti avatar konsti commented on May 29, 2024

👍

from elixirsublime.

stephenkoo avatar stephenkoo commented on May 29, 2024

+1

from elixirsublime.

mwjaco avatar mwjaco commented on May 29, 2024

+1

from elixirsublime.

 avatar commented on May 29, 2024

This was driving me mad. Thanks for pointing out this issue.

from elixirsublime.

laszlokorte avatar laszlokorte commented on May 29, 2024

+1

from elixirsublime.

fulgorek avatar fulgorek commented on May 29, 2024

+1

from elixirsublime.

pragmaticivan avatar pragmaticivan commented on May 29, 2024

+1

from elixirsublime.

jelvin avatar jelvin commented on May 29, 2024

+1

on the same ⛵️

from elixirsublime.

jhammann avatar jhammann commented on May 29, 2024

+1

from elixirsublime.

bastianwegge avatar bastianwegge commented on May 29, 2024

+1

from elixirsublime.

hickscorp avatar hickscorp commented on May 29, 2024

+1

from elixirsublime.

jeffdeville avatar jeffdeville commented on May 29, 2024

@vishnevskiy Can you please push an updated version to package control to fix the mouse issue?

from elixirsublime.

Preen avatar Preen commented on May 29, 2024

+1

from elixirsublime.

bitflorist avatar bitflorist commented on May 29, 2024

+1

from elixirsublime.

rusterholz avatar rusterholz commented on May 29, 2024

+1

from elixirsublime.

meowsus avatar meowsus commented on May 29, 2024

+1

from elixirsublime.

spnkr avatar spnkr commented on May 29, 2024

+1

from elixirsublime.

warnerandy avatar warnerandy commented on May 29, 2024

+1

from elixirsublime.

mattisx avatar mattisx commented on May 29, 2024

Sigh.

from elixirsublime.

orzFly avatar orzFly commented on May 29, 2024

+1 annoyed me for almost one whole year

from elixirsublime.

fadhlirahim avatar fadhlirahim commented on May 29, 2024

+1

from elixirsublime.

mezza avatar mezza commented on May 29, 2024

+1

from elixirsublime.

DevL avatar DevL commented on May 29, 2024

+1

from elixirsublime.

fuelxc avatar fuelxc commented on May 29, 2024

Removed for this reason too

from elixirsublime.

netfull95 avatar netfull95 commented on May 29, 2024

+1

from elixirsublime.

zombiecong avatar zombiecong commented on May 29, 2024

+1

from elixirsublime.

bitflorist avatar bitflorist commented on May 29, 2024

from elixirsublime.

vukanac avatar vukanac commented on May 29, 2024

Uninstalled. :(

from elixirsublime.

hscspring avatar hscspring commented on May 29, 2024

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.

That's it, all about the Elixir, :)

from elixirsublime.

pfac avatar pfac commented on May 29, 2024

Have not been using ElixirSublime for a long while, closing.

from elixirsublime.

Related Issues (20)

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.