Sublime Forum

Cannot open new file if Sublime already open

#1

Recently I started having issues with Sublime when I try to open a new file.

The scenario is as follows, from the command line I open sublime by typing “subl .”
This opens entire folder in sublime, which is a life saver when working with multiple projects.

But I noticed that once I have sublime opened like this, trying to open any new file either by double-clicking, right-click + open with sublime… nothing happens.

Is this a known issue or something people have been able to resolve?

What other information can I provide to help replicate this issue or give more information needed to get it resolved?

0 Likes

#2

as far as I know, you’re the only person experiencing this problem

OS details, ST console log (View menu -> Show Console), does opening a file using subl path/to/file work or show any errors in the terminal?

0 Likes

#3

Unfortunately, it’s not super easy to replicate the issue.

I’m using Sublime on Win 10 x64, here is my console log

first paint time: 0.916431
git: tracking working dir C:\Users\CK\Desktop\git\repo
reloading plugin Default.arithmetic
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.colors
reloading plugin Default.comment
reloading plugin Default.convert_color_scheme
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.detect_indentation
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.rename
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin ShellScript.ShellScript
reloading plugin 0_package_control_loader.00-package_control
reloading plugin Materialize.Materialize
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
reloading plugin Text Pastry.text_pastry
reloading plugin Text Pastry.text_pastry_addons
reloading plugin Text Pastry.text_pastry_clipboard
reloading plugin Text Pastry.text_pastry_selection
reloading plugin Guna.Guna
reloading plugin Stino-Stino-Dev.StinoCommands
plugins loaded
reloading settings Packages/User/Preferences.sublime-settings
top level value must be an array
git: untracking working dir C:\Users\CK\Desktop\git\repo
Package Control: Skipping automatic upgrade, last run at 2020-07-22 10:38:35, next run at 2020-07-22 11:38:35 or after

I’ve noticed that this happens always after I open an entire directory with subl . command, and if I continue to use that window, opening new file doesn’t work through Windows standard “double-click” or “open with” doesn’t work. But if I close all Sublime instances and open a fresh new one, then everything starts working again.

I know it’s a more of a inconvenience but I wanted to report the issue in case someone else has the same problem or if it’s something that can/should be fixed.

0 Likes