Comments (15)
Hi @rcavalcanti.
I'm using Sublime3 and it works for me.. Try it also from the command palette: Preferences: LoadFileToRepl Settings
.
Which OS are you using and what's in the console (`ctrl+``) output?
from loadfiletorepl.
@laughedelic When I try Preferences: LoadFileToRepl Settings
from the command palette, the palette window closes and nothing happens. On OSX 10.9.
from loadfiletorepl.
ok, can you tell me if there is something in the console output? open the console with ctrl-``, then try this
Preferences: LoadFileToRepl Settings` command again and show me what appears in the console.
from loadfiletorepl.
This is what I see.
Traceback (most recent call last): File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 509, in run_ return self.run() File "LoadFileToRepl in /Users/myname/Library/Application Support/Sublime Text 3/Installed Packages/Load file to REPL.sublime-package", line 47, in run File "/Applications/Sublime Text.app/Contents/MacOS/sublime.py", line 126, in load_resource raise IOError("resource not found") OSError: resource not found
from loadfiletorepl.
Thanks @ericbenwa! I've discovered what was the problem and fixed it. Try to update the plugin and reopen the issue if it still doesn't work.
from loadfiletorepl.
I can now open the User Settings files and save it.
But the settings still don't work. For instance, I set "split" : "vertically", but it's still horizontally.
Moreover, keybindings are lost after adding a user defined settings file. I can't send the file to the REPL using alt+enter anymore. I have to do it via menu.
from loadfiletorepl.
I'm now able to open the preferences but I think I'm having the same issue as @rcavalcanti. Unable to use alt+enter.
from loadfiletorepl.
@rcavalcanti @ericbenwa thanks for the feedback. I'll take a look once I have time.
I can't reproduce it, but I have an idea why the keybinding may not work. However about not working changes in preferences — I don't know. So if you notice any useful messages in the console or something else, please write me.
from loadfiletorepl.
Thanks!
Will do.
from loadfiletorepl.
@laughedelic my preferences seems to work now. I don't know how. I think it was a bad manipulation I did.
The keybinding is indeed not working once I edit the preferences for the first time.
I notice this property:
"use_load_file_to_repl_keybindings" : true
Maybe something related to that? Looks like this value is not being read and it defaults to false.
from loadfiletorepl.
Hi guys,
It works if you do the follow:
On the settings file, set keybinding to false.
"use_load_file_to_repl_keybindings" : false
On the keybinding file add the following:
[
{ "keys": ["alt+enter"], "command": "load_file_to_repl",
"context":
[ {"key": "panel_has_focus", "operand": false} ]
},
{ "keys": ["alt+shift+enter"], "command": "load_file_to_repl",
"args": {
"clear": true,
"save_focus": false
},
"context":
[ {"key": "panel_has_focus", "operand": false} ]
}
]
from loadfiletorepl.
Thanks @rcavalcanti ... that fix for the keyboard shortcut works for me too.
from loadfiletorepl.
Thanks for the pointer. I've pushed a fix (hopefully). So in some time an update will appear in package control. Please, try it (don't forget to change the use_load_file_to_repl_keybindings
back to true
) and tell me if it work.
Regarding not working settings, I think, it could just start working after reloading Sublime Text or something like that.
from loadfiletorepl.
@laughedelic Just installed the latest version and it is working as expected.
Thanks!
from loadfiletorepl.
Great! ")
from loadfiletorepl.
Related Issues (14)
- clisp support HOT 4
- support perl HOT 12
- Load file to haskell doesn't work HOT 9
- Elixir support HOT 4
- haskell source path settings is incorrect HOT 2
- NameError: name 'load' is not defined HOT 1
- Modifications to add Racket support
- Save focus when REPL is in another window HOT 1
- Change directory before loading file HOT 2
- 'generator' object has no attribute '_view'
- Unescaped slashes in the filename HOT 1
- Lua command HOT 1
- Load command for PowerShell HOT 1
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 loadfiletorepl.