Giter Club home page Giter Club logo

Comments (6)

Cacodaimon avatar Cacodaimon commented on September 14, 2024

Can't reproduce it on Linux, if I close all ST windows ST gets closed, too.

from ghosttext.

fregante avatar fregante commented on September 14, 2024

Yeah, OS X works differently: apps can be open even if they have no windows. You might need to check if there are any windows open before creating a new_file()

from ghosttext.

Cacodaimon avatar Cacodaimon commented on September 14, 2024

Fixed, can you check if it works on OS X and close it if…

from ghosttext.

fregante avatar fregante commented on September 14, 2024

It works! Can you make it true by default? It doesn't look like it interferes with the normal behavior.

from ghosttext.

Cacodaimon avatar Cacodaimon commented on September 14, 2024

Opening a new window if no windows are present is the default behavior and can't disabled,
the new_window_on_connect is only optional for opening every time an new window
regardless if a window if already open.

if len(sublime.windows()) == 0 or self.new_window_on_connect:
            sublime.run_command("new_window")

from ghosttext.

fregante avatar fregante commented on September 14, 2024

Ah, you're right! I hadn't realized that they were two separate things since the commit was one. For some reason the new window wasn't opening until I restarted ST

from ghosttext.

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.