Coder Social home page Coder Social logo

Not saving about xo HOT 8 OPEN

ptone avatar ptone commented on May 28, 2024 1
Not saving

from xo.

Comments (8)

scopatz avatar scopatz commented on May 28, 2024

What is the output of cat foo.py?

from xo.

ptone avatar ptone commented on May 28, 2024

nothing - I can edit the file, add stuff with nano - shows up fine - add stuff with xo, just doesn't get written. Acting like the keyboard binding not working, but ^x fine in xo, and ^o works as expected in nano...

from xo.

scopatz avatar scopatz commented on May 28, 2024

Hmmm I really don't understand this. What version of Python are you on?

from xo.

ptone avatar ptone commented on May 28, 2024

This was on a brew'd 3.3.3 - but just reproduced on 3.4

Tried it on a Ubuntu EC2 with no issue, so something on my machine - but not sure what it could be, no good idea on how to debug, and honestly not worried about it other than trying to help you track it down if you are interested.

https://dl.dropboxusercontent.com/u/22765108/screencast-bug.mov

from xo.

scopatz avatar scopatz commented on May 28, 2024

Very strange. I am not sure that I can really expend the time debugging this right now. I'll leave this issue open in case it comes up again.

from xo.

scopatz avatar scopatz commented on May 28, 2024

This is very strange. It seems like it is not saving at all? I am assuming that you hitting Ctrl+o in the demo here. It should pop up with a "saved!" status message in the lower left when you save, but in the video it never does this. Could this be a problem with mac keybindings? What happens when you rebind the save key to another character? You can do this by adding an entry like the following to ~/.config/xo/rc.json

{"keybindings": {"save": "ctrl o"}}

from xo.

caheredia avatar caheredia commented on May 28, 2024

I'm experiencing the same issue. I'm on OSX 10.12.6, python 3.6.3. I tried to rebind, but
~/.config/xo/rc.json
returns

/Users/cristian/.config/xo/rc.json: No such file or directory

which xo returns

/Users/cristian/anaconda/bin/xo

from xo.

blackary avatar blackary commented on May 28, 2024

You can do this by adding an entry like the following to ~/.config/xo/rc.json

I tried setting an rc.json file to various different keys, but none of them have any effect.

from xo.

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.