Sublime Forum

Bug: can't load/save .sublime-settings from User dir linked via directory junction (Windows)

#1

Problem description

Sublime Text seems to be unable to load pre-existing syntax-specific settings for editing when requested from the menu if the User package is linked via directory junction.

Steps to reproduce:

  • Link User via directory junction inside Packages
  • Ensure Python.sublime-settings exists in User, and is not empty.
  • Open a Python file in ST
  • Try Preferences > Settings - Syntax Specifc

ST will present the user with an empty file and is unable to save it (error dialog shown).

Expected behavior

  • Open the existing file correctly
  • or warn that the file cannot be opened because of the above reasons

Editor info (as provided by Sublime Text API)

General details about Sublime Text

Version and architecture

name: Sublime Text
version: 3118
architecture: x64
channel: dev
platform: windows

Platform info (as provided by wmic.exe)

Details about the current platform

OS information

OSArchitecture: 64-bit
Version: 10.0.10586
BuildNumber: 10586
BuildType: Multiprocessor Free
Caption: Microsoft Windows 10 Pro
FreePhysicalMemory: 9472776
FreeSpaceInPagingFiles: 2489604
FreeVirtualMemory: 10388140

Display information

PixelsPerXLogicalInch: 96
PixelsPerYLogicalInch: 96


This report was generated by the Troubleshooting package.

0 Likes

#2

this isn’t directory junction related, its a bug in the edit_syntax_settings command in the Default package and/or built in open_file command when used on the Windows OS: https://github.com/SublimeTextIssues/Core/issues/1260

2 Likes

#3

Huh. Interesting. I should have tested it without a dir junction. Thanks!

0 Likes