Git Product home page Git Product logo

fortran-plugin's Introduction

Fortran IntelliJ Idea plugin

Status

The work on the plugin is in progress now. Implemented features are mentioned in the section General Usage Information. There might be some problems and mistakes in the plugin. If you see one, please, do not hesitate to report us.

Installation

The plugin is compatible with all IntelliJ based IDEs, but it works better with CLion if you are using CMake as a build tool. If you don't have any IntelliJ ide yet, you can try IntelliJ IDEA Community Edition for free.

You can install a stable version of the plugin from Jet Brains plugins repository using Settings > Plugins > Browse repositories in your IDE.

Fortran plugin is gradle based project. So, it can be build using gradlew assemble command, tested with gradlew test command and launched with gradlew runIdea command

General Usage Information

To start work with your Fortran project use New > Project from existing sources action. In CLion it is also possible to load CMake based projects, see instruction. Example of Fortran project build with CMake can be found here. Using CMake project in CLion allows you to compile, run and debug project from the IDE.

Since CLion 2018.1 frotran project can be debugged with default Application run configuration. To debug Fortran projects in previous versions of CLion please add Fortran run configuration Edit Configurations > Add New Configuration > Fortran, select it in Select Run/Debug configuration menu and choose GDB as a working debugger. More detail about debugging in CLion is available in CLion help.

Fortran source files might be in two forms: free form and fixed form. For now some features are available only for free form. The plugin differs source forms by the file extension. .f and .for files are handled as fixed form source files while .f90, .f95, .f03 and .f08 files are in free source form. One can easily change this settings. Please, visit File Types Help for further detail.

Now the plugin provides lexer, parser, debugger, simple syntax highlighter, formatter (for free source firm files only), commenter, code folding and navigation (Find Usages and Go to Definition), brace matcher, structure view and several code inspections.

fortran-plugin's People

Contributors

sgshulman avatar satamas avatar sizmailov avatar vorotynsky avatar stigger avatar dryabov avatar saherr1969 avatar sharkovadarya 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.