Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on OSX and Sublime Text 3 #1

Open
MickL opened this issue Mar 25, 2014 · 6 comments
Open

Not working on OSX and Sublime Text 3 #1

MickL opened this issue Mar 25, 2014 · 6 comments

Comments

@MickL
Copy link

MickL commented Mar 25, 2014

As described here: https://sublime.wbond.net/packages/Project%20Sync

I would like to set the source and destination folder in Sublimetext 3 on Mac. But i really can't get the package to work.

I tried to copy and configure DevSync.sublime-settings into my project folder. Also i copied the pathMapping part into my .sublime-project file. But when i go for DevSync nothings happens.

Hope you may help me out and also update the usage description idiot-proof(for people new to sublimetext, like me).

This is how my .sublime-project looks like:

{
    "folders":
    [
        {
            "follow_symlinks": true,
            "path": "."
        }
    ],
    "pathMapping": [
        {
            "type": "local", // local or remote
            "destOS": "osx", //OS variant of the destination; windows, linux, or osx
            "source": "/Users/NAME/Documents/GitHub/MYSITE",
            "destination": "/applications/mamp/htdocs/MYSITE"
        }
    ],

    // required binaries. you only need to change these if you do not have these commands in your
    // path environment variable. If you do need to change them, enter the full path
    // (with extension if applicable) to the binary
    "scpBinary": "scp", // needed to push saved files across
    "sshBinary": "ssh", // needed to recursivly create missing directories
    "rsyncBinary": "rsync", // needed to perform a full project sync
    "bashBinary": "sh", // include any required arguments.
    "rsyncExcludes": "~/.rsync/exclude",

    // Example config for windows \w cygwin
    // "scpBinary": "C:\\cygwin\\bin\\scp.exe",
    // "sshBinary": "C:\\cygwin\\bin\\ssh.exe",
    // "rsyncBinary": "C:\\cygwin\\bin\\rsync.exe",
    // "bashBinary": "C:\\cygwin\\bin\\bash.exe --login -i -c",

    "debugMode": false // if true, extra output will be printed to the console. (ctrl+` to display the console)

}
@MickL MickL changed the title Settings file How to set settings file Mar 25, 2014
@justin-reid
Copy link
Owner

Hi there, the settings file is located in the packages directory, the file
you want to edit is DevSync.sublime-settings.

In windows this file is located
here: C:\Users\AppData\Roaming\Sublime Text 3\Packages\devsync

A easier way to find it however is to go through the Package Manager
plugin. Use the Package Control -> List Plugins option, then select the
name of the plugin. This will open a folder to view the plugin's install
location.

I will try to add this plugin to the sublime settings menu today, that will
make things easier in the future.

Let me know if you have any other issues.

On Tue, Mar 25, 2014 at 5:03 AM, Mick Lawitzke notifications@github.comwrote:

As described here: https://sublime.wbond.net/packages/Project%20Sync

I would like to set the source and destination folder in Sublimetext 3.
But i really can't find this "settings file".

Hope you may help me.

Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.

@MickL
Copy link
Author

MickL commented Mar 25, 2014

Unfortionally i cant find this package folder. Using "list packages" it doesnt open any folder on Mac. But I did Sublime Text 3 -> Preferences -> Browser Packages, which opens the packages folder(containing SFTP or SublimeLinter)

/Users//Library/Application Support/Sublime Text 3/Packages

I already search this folders but I really cant find devsync. Also using Spotlight doesnt gives me result for "devsync". Maybe its not installing properly on OSX? (I tried to remove and reinstall with no effect)

@justin-reid
Copy link
Owner

I just pushed a new version out, this version adds a settings entry to the 'Preferences -> Package Settings' menu entry, this should open the correct settings file for you. The name of the plugin will be 'Project Sync' in that menu.

It does sound like it isn't installing correctly. I have verified that the plugin works under OSX, and '~/Library/Application Support/Sublime Text 3/Packages' is the correct folder. Are there any entries in the sublime text console after installing the package? The command to view the console is ctrl+`` in windows. I'm assuming it'll be ⌘+`` under OSX.

@MickL
Copy link
Author

MickL commented Mar 27, 2014

Seems like its not working on OSX. I cant find this menu item after reinstall. I cant find this folder under /Packages. Console is showing:

ignored packages updated to: [Project Sync]
found 1 files for base name Default.sublime-theme
theme loaded
reloading Packages/User/Preferences.sublime-settings
found 1 files for base name Default.sublime-theme
theme loaded
ignored packages updated to: []
found 1 files for base name Default.sublime-theme
reloading Packages/User/Package Control.sublime-settings
theme loaded
reloading Packages/User/Preferences.sublime-settings
found 1 files for base name Default.sublime-theme
theme loaded
reloading plugin Project Sync.DevSync
found 10 files for base name Main.sublime-menu

@MickL MickL changed the title How to set settings file Not working on OSX and Sublime Text 3 Mar 27, 2014
@justin-reid
Copy link
Owner

Very odd, I've successfully installed it under Windows, Linux, and OSX, so I'm really not sure what the problem could be. What version of Sublime Text are you using?

@MickL
Copy link
Author

MickL commented Apr 1, 2014

ST3 on OS-X Mavericks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants