sekogan / MarkdownLight

Markdown syntax highlighting plugin and color scheme for Sublime Text 3
MIT License
41 stars 16 forks source link

Error message in sublime console #9

Open liuhewei opened 8 years ago

liuhewei commented 8 years ago

These messages for MarkdownLight.tmLanguage keep showing up in the sublime console. Maybe because the four scopes don't exist?

Error loading scope:source.css.less: Unable to find syntax file for scope source.css.less in Packages/MarkdownLight/MarkdownLight.tmLanguage Error loading scope:source.sass: Unable to find syntax file for scope source.sass in Packages/MarkdownLight/MarkdownLight.tmLanguage Error loading scope:source.coffee: Unable to find syntax file for scope source.coffee in Packages/MarkdownLight/MarkdownLight.tmLanguage Error loading scope:source.postscript: Unable to find syntax file for scope source.postscript in Packages/MarkdownLight/MarkdownLight.tmLanguage

sekogan commented 8 years ago

What version of Sublime do you use? I've checked my 3083 osx x64 and do not see such messages in my console (and I don't have "less", "coffee" or "postscript" syntaxes installed). What actions should I perform to reproduce the issue?

Also it's very odd that one message is about "postscript" syntax. There are no references to "postscript" in MarkdownLight.

liuhewei commented 8 years ago

startup, version: 3095 windows x64 channel: dev.

These messages appear before loading plugins, I think maybe because of the setting of "color_scheme": "Packages/MarkdownLight/MarkdownDark.tmTheme". But it's not a big issue, only messages in console, seems nothing going wrong.

Here are all the messages when boot up my Sublime, FYI:

DPI scale: 1 startup, version: 3095 windows x64 channel: dev executable: /D/Tools/Sublime Text 3/sublime_text.exe working dir: /D/Tools/Sublime Text 3 packages path: /C/Users/l00161412/AppData/Roaming/Sublime Text 3/Packages state path: /C/Users/l00161412/AppData/Roaming/Sublime Text 3/Local zip path: /D/Tools/Sublime Text 3/Packages zip path: /C/Users/l00161412/AppData/Roaming/Sublime Text 3/Installed Packages ignored_packages: ["Vintage"] pre session restore time: 0.171815 startup time: 0.217814 first paint time: 0.217814 Error loading scope:source.css.less: Unable to find syntax file for scope source.css.less in Packages/MarkdownLight/MarkdownLight.tmLanguage Error loading scope:source.sass: Unable to find syntax file for scope source.sass in Packages/MarkdownLight/MarkdownLight.tmLanguage Error loading scope:source.coffee: Unable to find syntax file for scope source.coffee in Packages/MarkdownLight/MarkdownLight.tmLanguage Error loading scope:source.postscript: Unable to find syntax file for scope source.postscript in Packages/MarkdownLight/MarkdownLight.tmLanguage reloading plugin Default.block reloading plugin Default.comment reloading plugin Default.convert_syntax reloading plugin Default.copy_path reloading plugin Default.delete_word reloading plugin Default.detect_indentation reloading plugin Default.duplicate_line 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.kill_ring reloading plugin Default.mark reloading plugin Default.new_templates reloading plugin Default.open_context_url reloading plugin Default.open_file_settings reloading plugin Default.open_in_browser reloading plugin Default.pane reloading plugin Default.paragraph reloading plugin Default.paste_from_history reloading plugin Default.quick_panel reloading plugin Default.run_all_syntax_tests reloading plugin Default.save_on_focus_lost reloading plugin Default.scroll reloading plugin Default.set_unsaved_view_name reloading plugin Default.side_bar reloading plugin Default.sort reloading plugin Default.swap_line reloading plugin Default.switch_file reloading plugin Default.symbol reloading plugin Default.transform reloading plugin Default.transpose reloading plugin Default.trim_trailing_white_space reloading plugin CSS.css_completions reloading plugin Diff.diff reloading plugin HTML.encode_html_entities reloading plugin HTML.html_completions reloading plugin 0_package_control_loader.00-package_control reloading plugin 0_package_control_loader.02-bz2 reloading plugin BracketHighlighter.bh_core reloading plugin BracketHighlighter.bh_logging reloading plugin BracketHighlighter.bh_plugin reloading plugin BracketHighlighter.bh_regions reloading plugin BracketHighlighter.bh_remove reloading plugin BracketHighlighter.bh_rules reloading plugin BracketHighlighter.bh_search reloading plugin BracketHighlighter.bh_swapping reloading plugin BracketHighlighter.bh_wrapping reloading plugin Git.add reloading plugin Git.annotate reloading plugin Git.commit reloading plugin Git.diff reloading plugin Git.flow reloading plugin Git.git reloading plugin Git.history reloading plugin Git.repo reloading plugin Git.stash reloading plugin Git.status reloading plugin Git.statusbar reloading plugin GitGutter.git_gutter reloading plugin GitGutter.git_gutter_change reloading plugin GitGutter.git_gutter_compare reloading plugin GitGutter.git_gutter_events reloading plugin GitGutter.git_gutter_handler reloading plugin GitGutter.git_helper reloading plugin GitGutter.view_collection reloading plugin GitHubinator.githubinator reloading plugin GoTools.gotools_build reloading plugin GoTools.gotools_format reloading plugin GoTools.gotools_goto_def reloading plugin GoTools.gotools_oracle reloading plugin GoTools.gotools_rename reloading plugin GoTools.gotools_settings reloading plugin GoTools.gotools_suggestions reloading plugin GoTools.gotools_util reloading plugin HighlightWords.HighlightWords reloading plugin HTMLBeautify.HTMLBeautify reloading plugin JsFormat.js_formatter reloading plugin JsonTree.JsonTree reloading plugin Package Control.1_reloader reloading plugin Package Control.2_bootstrap reloading plugin Package Control.Package Control reloading plugin PackageResourceViewer.package_resource_viewer reloading plugin PackageResourceViewer.package_resources reloading plugin Run Apps.runapp reloading plugin SideBarEnhancements.SideBar reloading plugin SideBarEnhancements.SideBarAPI reloading plugin SideBarEnhancements.SideBarDefaultDisable reloading plugin Text Pastry.text_pastry reloading plugin Text Pastry.text_pastry_addons reloading plugin Text Pastry.text_pastry_selection reloading plugin WordHighlight.word_highlight reloading plugin YAML Nav.utils reloading plugin YAML Nav.view_data reloading plugin YAML Nav.worker reloading plugin YAML Nav.yaml_math reloading plugin YAML Nav.yaml_nav reloading plugin ConvertToUTF8.ConvertToUTF8 reloading plugin Jedi - Python autocompletion.init reloading plugin TodoReview.TodoReview plugins loaded Package Control: Skipping automatic upgrade, last run at 2015-12-07 09:11:11, next run at 2015-12-07 10:11:11 or after

sekogan commented 8 years ago

OK, I've installed 3095 and now I see these messages in the console. Also I've figured out why there is a message about postscript even if there is no references to postscript in MarkdownLight. There is a reference to perl syntax and perl syntax has a reference to postscript syntax which is missing.

So the only thing that can be done is remove support of syntaxes that are not installed by default or contain references to such syntaxes. But I don't think it's a good idea to remove support of languages just because of some warnings in the console. These warnings seem harmless to me.

evandrocoan commented 7 years ago

From where come this scope:source.css.less?

I am trying to install all the missing syntaxes but that is the only one I could not find anywhere.