My vscode plug-in does not have all the fancy features Phil demoed in the webinar

my vscode plug-in does not have all the fancy features Phil demoed in the webinar.

eg. it does not give me all the available syntax when type in Channel.from

$ nextflow -v
nextflow version 24.04.4.5917

$ nextflow info
  Version: 24.04.4 build 5917
  Created: 01-08-2024 07:05 UTC (00:05 PDT)
  System: Linux 3.10.0-1160.119.1.el7.x86_64
  Runtime: Groovy 4.0.21 on OpenJDK 64-Bit Server VM 11.0.23+9-LTS
  Encoding: UTF-8 (UTF-8)

Any suggestions? thanks

Hi @yinshiyi,

The VSCode plugin is currently completely separate from Nextflow itself. What version of the plugin are you running?

Phil

Hi @ewels

I got the 1.0.3 version, I am using

$ cat /etc/os-release 

NAME="Red Hat Enterprise Linux Server"
VERSION="7.9 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.9"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.9 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.9:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.9
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.9"

Please let me know if there is anything else I could check or debug, thank you in advance.

Ok then that sounds fine. The next thing is whether (a) it loads up properly (it should say Nextflow language server starting when you open a .nf file) and then (b) whether you have any errors.

Many of the features only work once you have fixed the worst of the errors. We talked about this in a recent podcast, which may help:

I figured out the source of the issue.
It is due to Java, I had 2 java and the terminal default to 1.8
After changing bashrc to 21, everything seems to be working

  • Java 21.0.5
  • Java 1.8.431.10

Apparently, 1.8 = version 8, due to complex reasons, many companies still stuck with Java 8.

If more people report similar errors, additional info perhaps could be added to the java section of the repo.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.