question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for C/C++

See original GitHub issue

Description

We should have support for C/C++ out of the box in Eclipse Che.

The work would consist in integrating existing C/C++ language server and provide default stack for it.

Reference: [1] https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools [2] https://docs.google.com/document/d/182PBN5LBNTlbhsqqsb5QHg9t5HNK3rSLrnIMPSGjyN0/edit#heading=h.tyhhnnuon2rs [3] https://github.com/eclipse-cdt/cdt-vscode [4] https://github.com/eclipse-cdt/cdt-gdb-vscode

Screenshot from 2019-08-06 12-40-35

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:19 (18 by maintainers)

github_iconTop GitHub Comments

2reactions
slemeurcommented, Jul 4, 2019

from @ferdaarikan: We should also reach out to: https://github.com/eclipse-cdt/cdt-vscode and check if they would be interested to publish the CDT VS Code extension to Che.

1reaction
tolushacommented, Aug 6, 2019

Here is the devfile for the testing purpose to play with c/c++ tools

Screenshot from 2019-08-06 12-40-35

---
apiVersion: 1.0.0
metadata:
  name: cpp
projects:
  -
    name: cpp-hello-world
    source:
      type: git
      location: 'https://github.com/che-samples/cpp-hello-world'
components:
-
  type: chePlugin
  reference: https://raw.githubusercontent.com/tolusha/plugins-registry/master/plugins/tolusha/cpptools/0.1/meta.yaml
  alias: cpp-plugin
  preferences:
    clangd.path: /usr/bin/clangd
    cdt.clangd.binaries.enable: false
-
  type: dockerimage
  alias: cpp-dev
  image: registry.centos.org/centos/devtoolset-7-toolchain-centos7
  command: ['sleep']
  args: ['infinity']
  memoryLimit: 512Mi
  mountSources: true
commands:
  -
    name: build
    actions:
      - type: exec
        component: cpp-dev
        command: g++ -g hello.cpp -o hello.out
        workdir: ${CHE_PROJECTS_ROOT}/cpp-hello-world
  -
    name: debug
    actions:
      - type: vscode-launch
        referenceContent: >
          {
            "version": "0.2.0",
            "configurations": [
                {
                    "type": "gdb",
                    "name": "Debug c++ application",
                    "request": "launch",
                    "program": "/projects/cpp-hello-world/hello.out"
                }
            ]
          }
Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting started with CC and followers for admins - Zendesk help
Use this article to help you get started with your CCs and followers setup. This is a guide to help you make sure...
Read more >
D8: Add support for CC and BCC recipients [#2881577] - Drupal
In MandrillMail.php, the following lines could be updated to incorporate CC and BCC recipients from mail headers: // Extract an array of ...
Read more >
Add Email CC and BCC on Invoices - Invoice2go Support
Click on your Company name in the upper right corner · Click on Account & settings · Under the Settings section, click on...
Read more >
Creative Commons - YouTube Help
You can still add attribution to your videos by updating your video descrip. ... YouTube allows creators to mark their videos with a...
Read more >
Put others as CC to a ticket - TeamViewer Support
If the email address is not found in the drop-down list it can be added as CC and be visible in CC input...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found