Giter Site home page Giter Site logo

flangd's Introduction

flangd README

flangd is a Fortran language server written in Python, using f18 as the feature provider. It is a work in progress, and has limited features. If you have any issues at all, please make an issue.

Features

Currently implemented Go To Definition, Document Symbols and Diagnostics (with my fork of f18) (https://github.com/tinlun/f18/tree/master).

Requirements

This package requires f18.

Diagnostic feature requires my fork of f18.

This package also requires the following extensions to be installed:

You must also have Python3 installed.

Note that flangd only works on Linux (because f18 is only available on Linux).

Installation

This extension is only available for Linux. You can also use this extension if you are using Windows Subsystem for Linux, though the steps are a bit more convoluted.

Linux:

In the root of this repository:

code --install-extension flangd-0.0.1.vsix

WSL using Remote-WSL:

Assuming you already have WSL installed.

Install the Remote-WSL extension for VS Code.

Copy the tinlun.flangd-0.0.1 directory into ~/.vscode-server/extensions

Launch VS Code in WSL mode.

Then, for all methods:

Check that you have flangd installed by going to VS Code settings (Ctrl + ,) and searching for flangd. If the extension was installed correctly, some settings should show up there.

While the settings are up, set the correct path to flangd and f18. If you don't set these paths correctly, flangd will blow up on you.

Once set, reload the VS Code window by F1 > Developer: Reload Window.

Then try opening a fortran document. If done correctly, there should be a text notification that pops up telling you which f18 flangd is using.

flangd's People

Contributors

lahlidahlia avatar

Stargazers

Josef Kemetmüller avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.