satyagraha / gfm_viewer

An Eclipse plugin providing an accurate view of GitHub Flavored Markdown (.md) files
94 stars 27 forks source link

no rendering for non-project files opened by File > Open File... #12

Closed DavidHolmes0 closed 11 years ago

DavidHolmes0 commented 11 years ago

Thanks very much for sharing your fine work.

This message concerns a possible issue, but may instead reflect my ignorance of Eclipse: should the viewer render the md when I use Eclipse's File > Open File to open the md file?

Immediately after installing the Winterstein Eclipse-Markdown-Editor-Plugin and your viewer, I opened a tiny md file via Eclipse's File > Open File menu. The Winterstein viewer rendered the Markdown as if it were standard Markdown, but the GFM viewer pane was empty. No html files were created.

I eventually tried creating a project that contains the md file, and the GFM viewer immediately rendered the Markdown as expected. I should add that I don't understand the distinction that Eclipse makes in some other areas between files that are -- versus are not -- part of a project.

I wouldn't have bothered you by opening an issue for this, but it does give me an opportunity to convey my thanks.

satyagraha commented 11 years ago

Hi David, thanks for your appreciation - you can click the Star link at the top of the page to record this permanently.

Regarding the reported issue, I don't seem to be able to reproduce it in my version 1.2.1. I've opened markdown files via the File > Open File... menu and they render as expected.

The best way in Eclipse to access non-project files is via linked resources: these are like symlinks to arbitrary parts of the file system and can be added to any project. They can be visually identified by a little arrow on the resource icon.

If anyone else can reproduce the problem, do please report here.

paulvi commented 11 years ago

@DavidHolmes0 Hint: you can also drag-and-drop files into Project Explorer View. Then Eclipse will ask whether to copy or create link.

satyagraha commented 11 years ago

Closing as no new input.