Open Kristinita opened 7 years ago
Try "default_syntax":"Packages/MarkdownEditing/Markdown.tmLanguage"
@bfred-it , see 5.3 item. Now I get in console:
Default syntax "Packages/MarkdownEditing/Markdown.tmLanguage" is not installed!
Thanks.
Ok I read it again and point 5.1 seems to be working for you. I'm afraid you'll just have to ignore the message in the console since it works.
GhostText is not actively developed. The original developer, who wrote the Sublime extension, has disappeared. So unless a python developer steps up I'm not going to be able to fix minor issues like this one.
@bfred-it , I don't think, that close issue — the best solution, because bug not fixed.
I think, will be better reopen issue and to create label, for example, need-maintainer
, to increase the likelihood that Python developers to see and fixed this bug.
Thanks.
Markdown Editing maintainer here. I am not able to reproduce the issue. The theme just works fine when I click the GhostText button and a new tab is opened. I don't have AcademicMarkdown or ApplySyntax installed. Maybe it is caused by a conflict with AcademicMarkdown or ApplySyntax?
@felixhao28, But can you make it so it opens with the Markdown GFM
syntax applied?
@revolter It is exactly what I see. A tab with Markdown GFM
syntax and ArcDark
theme. If you are still seeing the issue, will you start from a freshly-installed Sublime Text 3 (and newest version of GhostText-Sublime and MarkdownEditing) and try again, to make sure this issue is reproducible?
A wild guess: have you associated Markdown GFM
syntax with .md
extension by default? (open all .md with ...)?
I can't reinstall Sublime Text, as I would have to redo a lot of settings and stuff.
I uninstalled both packages, restarted Sublime Text, re-installed both packages, restarted Sublime Text, and tried again, and it still opens a tab with the MultiMarkdown
syntax applied.
And yes, I did have Markdown GFM
syntax associated to all .md
files. If I cmd+p to a Markdown file, it opens with the Markdown GFM
syntax.
I have the same issue on Windows 7; Sublime Text v3.1.1, Build 3176; and Chrome 67, where Ghost Text opens in MultiMarkdown by default (rather than GFM). Is it possible this is a Windows issue (@felixhao28, what computer do you have)?
@KyleKing I am using Windows 10, latest ST version and latest Windows release update. Opening in MultiMarkdown by default is most likely the cause here. Will you try this:
Thanks, I originally checked that static markdown files opened as GFM but went through your process again just to double check; however, Ghost Text still defaults to MultiMarkdown.
In my user settings for Ghost Text, I have {"default_syntax": "Markdown.tmLanguage"}
(which I believe should map to GFM, but goes to MultiMarkdown). I've also tested{"default_syntax": "Markdown (Standard).tmLanguage"}
which goes to MarkdownEditing/Markdown and {"default_syntax": "MultiMarkdown.tmLanguage"}
which maps to MarkdownEditing/MultiMarkdown.
This is probably out of scope for the author's initial question, so I can open a new issue if you think it is worth further troubleshooting.
Well I am kind of out of ideas. How about resetting Sublime Text? Your user settings are in %LOCALAPPDATA%\Sublime Text 3\Packages\User
, which you would like to backup first.
Could we add some debugging logs locally to figure out what happens?
Could we add some debugging logs locally to figure out what happens?
Sorry for the radio silence, I haven't used GhostText in a while. Feel free to send PRs to https://github.com/GhostText/GhostText-for-SublimeText
1. Summary
I don't understand, how I can set syntax for GhostText tabs.
2. Expected behavior
Writing messages in syntax, which I set. No errors in Sublime Text console.
3. Actual behavior
In Sublime Text console:
4. Settings
I use MarkdownEditing, AcademicMarkdown and ApplySyntax packages.
My
User/GhostText.sublime-settings
file:Part of my
User/ApplySyntax.sublime-settings
file:It means that I open my new files in
MarkdownEditing/Markdown
syntax of MarkdownEditing package.5. Steps to reproduce
I reproduce the problem in a version of Sublime Text without plugins and user settings.
I input in Sublime Text console:
"default_syntax": "MarkdownEditing/Markdown",
line into myUser/GhostText.sublime-settings
file → I open any page in my browser → I click to «Ghost» button → I select textarea field → connection establish → in GhostText tab of Sublime Text I open Sublime Text console and input in it:Syntax incorrect for me, I want
Packages/MarkdownEditing/Markdown.tmLanguage
syntax.User/GhostText.sublime-settings
filePackages/MarkdownEditing/Markdown.tmLanguage
,MarkdownEditing/Markdown.tmLanguage
,Packages/MarkdownEditing/Markdown
instead ofMarkdownEditing/Markdown
→ I get behavior, for example:If I set
MarkdownEditing/Markdown
inUser/GhostText.sublime-settings
file, I get expected syntax for new GhostText tabs, but I getDefault syntax "MarkdownEditing/Markdown" is not installed!
in console.6. Environment
Operating system and version: Windows 10 Enterprise LTSB 64-bit EN Sublime Text: Build 3126 Firefox: 51.0.1 (64-bit) GhostText for Firefox: 1.2.4.1 GhostText for Sublime Text: 1.0.13
Thanks.