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

Add support for scratch files #36

Closed
harrol opened this issue Dec 11, 2014 · 10 comments
Closed

Add support for scratch files #36

harrol opened this issue Dec 11, 2014 · 10 comments

Comments

@harrol
Copy link
Contributor

harrol commented Dec 11, 2014

IntelliJ 14 has a new feature, scratch files (Tools > New scratch file), which let's you quickly create some files for small test without adding them to the actual project. It would be nice if the plugin detected these as well.

@harrol
Copy link
Contributor Author

harrol commented Dec 12, 2014

Currently creating an AsciiDoc scratch file is not offered on the "New scratch file" popup because this test fails:

com.intellij.lang.LanguageUtil#isFileLanguage

There is no ParserDefinition yet. If Syntax Highlighting (#7) is to be implemented a parser is required thus automagically implementing this feature.

(p.s. How can you add an enhancement label?)

@mojavelinux
Copy link
Member

See if you can add the enhancement label now. I added you to the contributors team and the contributors team to this repository.

@harrol
Copy link
Contributor Author

harrol commented Dec 12, 2014

I guess being part of the contributors team is not enough. I miss the "gearbox" icon next to labels to add one.

@bodiam
Copy link
Contributor

bodiam commented Dec 12, 2014

I also added you to the plugin development team. You probably have an email for that. Does that help?

@mojavelinux
Copy link
Member

GitHub is waaaaaaaaaaay too restrictive with the issue tracker settings. Grrrr. Somehow, they are coupling write access to the repository with control over fields in the issue tracker.

@harrol
Copy link
Contributor Author

harrol commented Dec 12, 2014

Yes, no I can add labels. But I am admin now, I'm not sure if that is what you want :)

You've been added to the intellij-plugin team for the Asciidoctor organization.  intellij-plugin has 4 members and gives *admin* access to asciidoctor 1 repository.

@bodiam
Copy link
Contributor

bodiam commented Dec 12, 2014

Yes, I know, and yeah, sure, you can be an admin. :)

@harrol
Copy link
Contributor Author

harrol commented Jul 25, 2015

Thanks to @yole we are halfway there (just no preview yet)
screen shot 2015-07-25 at 12 54 54

@bodiam
Copy link
Contributor

bodiam commented Jul 25, 2015

Oh wow, that's nice!!

harrol added a commit to harrol/asciidoctor-intellij-plugin that referenced this issue Jul 27, 2015
bodiam added a commit that referenced this issue Jul 27, 2015
Show preview pane with AsciiDoc scratch files #36
@bodiam
Copy link
Contributor

bodiam commented Jul 18, 2016

Scratchfiles support asciidoc, including previews.

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

No branches or pull requests

3 participants