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

Active editor doesn't show a RST document - no properties to preview. #6

Open
Abdelkrim opened this issue Jul 10, 2016 · 3 comments
Open

Comments

@Abdelkrim
Copy link

  1. I have installed the plugin for VS Code
  2. I have opened a .rst file
  3. I have hit ctrl k + r
  4. a new window opens displaying this message Active editor doesn't show a RST document - no properties to preview.

What do I have to do?

@tht13
Copy link
Owner

tht13 commented Jul 12, 2016

Hi,
What version of VSCode are you running? I will attempt to reproduce this as
you should not have to do anything else.
The only issue I could think of is the .rst document does not have focus
(ie cursor presence) when the command is triggered.

Thomas

On Sun, 10 Jul 2016, 18:34 Abdelkrim from Brussels, <
[email protected]> wrote:

  1. I have installed the plugin for VS Code
  2. I have opened a .rst file
  3. I have hit ctrl k + r
  4. a new window opens displaying this message Active editor doesn't
    show a RST document - no properties to preview.

What do I have to do?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#6, or mute the thread
https://github.com/notifications/unsubscribe/AAx4cMbKMa2JSY26TvYBCVvrY3G2YDc_ks5qUS0VgaJpZM4JI4QV
.

Regards,
Thomas Townsend
+47448960

@samuell
Copy link

samuell commented Sep 19, 2016

I'm getting the same problem, with the following version of VSCode:

Version 1.0.0
Commit fa6d0f03813dfb9df4589c30121e9fcffa8a8ec8
Date 2016-04-13T14:21:33.326Z
Shell 0.35.6
Renderer 45.0.2454.85
Node 4.1.1

I'm on Xubuntu 16.04 64 bit.

I have tried multiple times to make sure that the opened RST document is indeed focused when opening.

This is the content of the index.rst file I'm trying with:

.. SciLuigi documentation master file, created by
   sphinx-quickstart on Thu Sep 15 15:49:34 2016.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

Welcome to SciLuigi's documentation!
====================================

Contents:

.. toctree::
   :maxdepth: 2


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

@samuell
Copy link

samuell commented Sep 19, 2016

Ok, I found a problem/solution now: I had installed two rst-extensions at the same time.

It worked better if I disabled this other extension I installed. (Now getting some other error messages, which I will report in another issue), but now at least it seems to be trying.)

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

No branches or pull requests

3 participants