Git Product home page Git Product logo

editpreferences's People

Contributors

evandrocoan avatar facelessuser avatar sublimator avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

editpreferences's Issues

List Shortcut Key - Error

Checked out again.

Invoking the above command leads to:

[Errno 2] No such file or directory: 'D:\Users\Highend\Downloads\Sublime Text\Packages\CSS.sublime-package\Default (Windows).sublime-keymap' D:\Users\Highend\Downloads\Sublime Text\Packages\CSS.sublime-package\Default (Windows).sublime-keymap
Error parsing keymap, look for trailing commas and /_ style _/ comments
[Errno 2] No such file or directory: 'D:\Users\Highend\Downloads\Sublime Text\Packages\Default.sublime-package\Default (Windows).sublime-keymap' D:\Users\Highend\Downloads\Sublime Text\Packages\Default.sublime-package\Default (Windows).sublime-keymap
Error parsing keymap, look for trailing commas and /_ style _/ comments
[Errno 2] No such file or directory: 'D:\Users\Highend\Downloads\Sublime Text\Packages\Ruby.sublime-package\Default.sublime-keymap' D:\Users\Highend\Downloads\Sublime Text\Packages\Ruby.sublime-package\Default.sublime-keymap
Error parsing keymap, look for trailing commas and /_ style */ comments
[Errno 2] No such file or directory: 'D:\Users\Highend\Downloads\Sublime Text\Data\Installed Packages\Vintageous.sublime-package\Default.sublime-keymap' D:\Users\Highend\Downloads\Sublime Text\Data\Installed Packages\Vintageous.sublime-package\Default.sublime-keymap
Traceback (most recent call last):
  File "D:\Users\Highend\Downloads\Sublime Text\sublime_plugin.py", line 359, in run_
    return self.run()
  File "D:\Users\Highend\Downloads\Sublime Text\Data\Installed Packages\EditPreferences.sublime-package\list_shortcut_keys.py", line 122, in run
  File "D:\Users\Highend\Downloads\Sublime Text\Data\Installed Packages\EditPreferences.sublime-package\quick_panel_cols.py", line 138, in format_for_display
  File "D:\Users\Highend\Downloads\Sublime Text\Data\Installed Packages\EditPreferences.sublime-package\quick_panel_cols.py", line 86, in pad_columns
  File "D:\Users\Highend\Downloads\Sublime Text\Data\Installed Packages\EditPreferences.sublime-package\quick_panel_cols.py", line 71, in find_widths
  File "D:\Users\Highend\Downloads\Sublime Text\Data\Installed Packages\EditPreferences.sublime-package\quick_panel_cols.py", line 23, in normed_column_widths
TypeError: object of type 'int' has no len()

Eventually the same problem (normalized paths under Windows) like in the first issue?

Can't find the location of a binding

So, I was looking for the key bindings to wrap the selection around XML tags and Edit Preferences told me it was alt+shift+w. However, it didn't work when I tried it, so I searched for other definitions the binding, again using Edit Pref. It didn't find anything else, so I set sublime.log_commands(True) in the console. This revealed that a command named toggle_watch was called.

Then, as I entered the command into edit pref (key bindings ofc) it wouldn't find it. Do you have any idea why this could be happening? Maybe in a subfolder of a plugin? I have no clue which plugin could cause this, maybe a hint from you could spare me to look into all the zip archives.

Can it be an open source project?

Searching through the repository I cannot find any mention to open source licence. By this project being on Github, I am allowed to fork it by the Github TOS (Terms Of Service). However I am not allowed to create derivative works from it (pull requests). Meaning I cannot fork this repository, change its code and perform pull requests without the danger/liability of being prosecuted by violating the All rights reserved copyright granted by berne convention law.

The original prime theme for Sublime Text has the licence following open source licence:

The MIT License (MIT)

Copyright (c) 2014 Karel Vuong

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
  1. https://github.com/karelvuong/st-primer/blob/master/LICENSE

Can the project have the same licence?


Related issues:

  1. gamcoh/QuickEdit#2 Can it be an open source project?
  2. SublimeText/LaTeXTools#1175 Can it be an open source project?

Feature Request: open README's

There used to be a great plugin on ST2 called ReadMePlease that allowed users to quickly access and open the README file for their packages. It has not been updated for ST3. There is a PR to supposedly support ST3, but installing that only makes it python3 compatible, it does not work with the new Installed Packages zipped archive format. What does this have to do with Edit Preferences?

Well, it seems like you have the infrastructure in place to add the ability to read a README file pretty easily. And it seems like it would fit nicely with the other functionality. Just thought I'd ask. Thanks.

Unable to open commands from files in packed packages

For example trying to open Window/Default/Default.exec/exec:

ListCommands error <class 'sublime_plugin.WindowCommand'> need more than 1 value to unpack
ListCommands error <class 'sublime_plugin.TextCommand'> need more than 1 value to unpack
Traceback (most recent call last):
  File "list_commands in C:\Program Files\Sublime Text 3 Portable Beta\Data\Installed Packages\Edit Preferences.sublime-package", line 71, in on_select
  File "./inspect.py", line 715, in getsourcelines
    whose entry immediately precedes the list.  Each entry is a 2-tuple
  File "./inspect.py", line 563, in findsource
    object = object.__func__
OSError: could not get source code

error parsing keymap, look for trailing commas and /* style */ comments

It's due to the non conforming json variant used by Sublime Text 3. It supports trailing commas and comments. // styles comments are easy to strip out before feeding to Python standard library json parser.

What you can do, is make a Default/ folder next to your User/ folder and just extract that file from the Default.sublime-package and sublime will pick up the file.

Maybe Jon can help us out in the future by only using // comments and no trailing commas?

Error on: Edit Preference: List Settings

I get this when I invoke the above command:
'''
Traceback (most recent call last):
File "D:\Users\Highend\Downloads\Sublime Text\sublime_plugin.py", line 359, in run_
return self.run()
File "D:\Users\Highend\Downloads\Sublime Text\Data\Installed Packages\EditPreferences.sublime-package\list_settings.py", line 26, in run
File "D:\Users\Highend\Downloads\Sublime Text\Data\Installed Packages\EditPreferences.sublime-package\helpers.py", line 189, in package_file_contents
FileNotFoundError: [Errno 2] No such file or directory: 'D:\Users\Highend\Downloads\Sublime Text\Packages\C++.sublime-package\C++.sublime-settings'
'''

ST 3 Build 3007, EditPreferences - Checkout 5 minutes before

ValueError: Expecting property name enclosed in double quotes: line 655 column 9 (char 25131)

ValueError: Expecting property name enclosed in double quotes: line 655 column 9 (char 25131)

When opening the:

image

Traceback (most recent call last):
  File "D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\sublime_plugin.py", line 797, in run_
    return self.run()
  File "commands_base in D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\Data\Installed Packages\Edit Preferences.sublime-package", line 58, in run
  File "commands_base in D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\Data\Installed Packages\Edit Preferences.sublime-package", line 26, in glob_and_parse_package_json
  File "./python3.3/json/__init__.py", line 329, in loads
  File "./python3.3/json/decoder.py", line 351, in decode
  File "./python3.3/json/decoder.py", line 367, in raw_decode
  File "jsonix in D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\Data\Installed Packages\Edit Preferences.sublime-package", line 180, in _scan_once
  File "./python3.3/json/decoder.py", line 197, in JSONObject
  File "jsonix in D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\Data\Installed Packages\Edit Preferences.sublime-package", line 180, in _scan_once
  File "./python3.3/json/decoder.py", line 197, in JSONObject
  File "jsonix in D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\Data\Installed Packages\Edit Preferences.sublime-package", line 180, in _scan_once
  File "./python3.3/json/decoder.py", line 219, in JSONObject
ValueError: Expecting property name enclosed in double quotes: line 655 column 9 (char 25131)

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.