Giter Club home page Giter Club logo

com.vscodium.codium's Introduction

Flatpak VSCodium

This is an Unofficial Flatpak version of VSCodium

Issues

Please open issues under: https://github.com/flathub/com.vscodium.codium/issues

FAQ

Note that vscodium is granted full access to your home directory. You can use flatpak override to locally adjust this if you prefer to sandbox vscodium file system access:

flatpak override --user com.vscodium.codium --nofilesystem=home
# now manually grant accesss to the folder(s) you want to work in
flatpak override --user com.vscodium.codium --filesystem=~/src

This version is running inside a container and is therefore not able to access SDKs on your host system!

To execute commands on the host system, run inside the sandbox:

  $ flatpak-spawn --host <COMMAND>

Note that this runs the COMMAND without any further host-side confirmation. If you want to prevent such full host access from inside the sandbox, you can use flatpak override as follows:

flatpak override --user com.vscodium.codium --no-talk-name=org.freedesktop.Flatpak

Where is my X extension? AKA modify product.json

Since are serveral ways to achieve this the better is to use vsix-manager

Host Shell

To make the Integrated Terminal automatically use the host system's shell, you can add this to the settings of vscodium:

  {
    "terminal.integrated.defaultProfile.linux": "bash",
    "terminal.integrated.profiles.linux": {
        "bash": {
          "path": "/usr/bin/flatpak-spawn",
          "args": ["--host", "--env=TERM=xterm-256color", "bash"]
        }
    },
  }

SDKs

This flatpak provides a standard development environment (gcc, python, etc). To see what's available:

  $ flatpak run --command=sh com.vscodium.codium
  $ ls /usr/bin (shared runtime)
  $ ls /app/bin (bundled with this flatpak)

To get support for additional languages, you have to install SDK extensions, e.g.

  $ flatpak install flathub org.freedesktop.Sdk.Extension.dotnet
  $ flatpak install flathub org.freedesktop.Sdk.Extension.golang
  $ FLATPAK_ENABLE_SDK_EXT=dotnet,golang flatpak run com.vscodium.codium

You can use

  $ flatpak search <TEXT>

to find others.

Run flatpak codium from host terminal

If you want to run codium /path/to/file from the host terminal just add this to your shell's rc file

alias codium="flatpak run com.vscodium.codium "

then reload sources, now you could try:

$ codium /path/to/
# or
$ FLATPAK_ENABLE_SDK_EXT=dotnet,golang codium /path/to/

Deprecation of arm (32 bits) builds

  • armhf/armv7 builds have their particular branch named armv7 and will be deprecated on 2021 due to the org.freedesktop.Sdk versions >= 20.08 disable armv7 builds. You can follow the discussion here.
  • This particular branch is based on org.freedesktop.Sdk == 19.08 that be supported until 2021, you can read more about it here.

Related Documentation

com.vscodium.codium's People

Contributors

noonsleeper avatar flathubbot avatar unrud avatar tommytran732 avatar alexpattyn avatar farribeiro avatar ralfjung avatar vchernin avatar beatlink avatar claviola avatar elxreno avatar ferenc- avatar steinex avatar paradoxicpotato avatar johnveness avatar pgbiel avatar bbhtt 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.