menu

Theia

Eclipse Theia - Cloud & Desktop IDE

Channels
Team
Anton Kosyakov
@anton-kosyakov
Marc Dumais
@marc-dumais
Sven Efftinge
@svenefftinge
Vince Fugnitto
@vince-fugnitto
Florent BENOIT
@florentbenoit
Rob Moran
@thegecko
Akos Kitta
@kittaakos
Paul Maréchal
@marechal-p
Casey Flynn
@caseyflynn
Anatoliy Bazko
@abazko
Gorkem Ercan
@gercan
Liang
@elaihau
Jacques Bouthillier
@jacques-bouthillier
Yevhen Vydolob
@yevhen
Artem Zatsarynnyi
@artem-z
Simon Marchi
@simark
Jan Bicker
@jbicker
Miro Spönemann
@spoenemann
Alex Tugarev
@alex-tugarev
Posts
Chat
Members
Info
Show previous messages

November 14, 2019 at 3:18pm
How do I rebuild when i'm based on "yo theia-extension hello-world-extension", seem I don't have yarn build in this.
  • reply
  • like
I'm not sure I understand your question - do you mean something like yarn run rebuild:browser?
  • reply
  • like
For me - simply running yarn in the workspace builds both browser and extension targets - then I can cd into the browser folder and run yarn start
  • reply
  • like

November 15, 2019 at 6:12am
please look at generated README file, it should explain how to build for Electron.
  • reply
  • like
there should be sections like Running the Electron example and Developing the Electron example.
  • reply
  • like

November 25, 2019 at 9:29am
How can I hide a specific folder in the file explorer of theia when IDE is loaded?
  • reply
  • like
How can I hide a specific folder in the file explorer of theia when IDE is loaded?
you can use 'files.exclude' preferences to hide directories or extensions in the project tree. You have two ways: Option1-> Select menu->Files->Settings->Open preferences Expand 'Files' tree you will find exclude:[object Object] double click on it it and it will open the editor text and make this entries { "files.exclude": { "/.git": true, "/.svn": true, "/.hg": true, "/CVS": true, "**/.DS_Store": true } }
eg: 1st entry is to hide .git directory you can add more entries here.
Option2-> create OR open ~/.theia/settings.json and add the above text.
Reload the editor.
Edited
  • reply
  • like

November 29, 2019 at 10:10am
I want to log a message at the time of UI is fully loaded. How to achieve it?
  • reply
  • like
I want to log a message at the time of UI is fully loaded. How to achieve it?
I believe you can listen to the 'ready' state and simply use the MessageService to display a message. Something similar was done for the getting-started widget, but in it's case an actual widget was revealed when the application loaded: https://github.com/eclipse-theia/theia/blob/693ea380c26e09e722fda57e17d5ea7cf29c3a00/packages/getting-started/src/browser/getting-started-contribution.ts#L51-L57
  • reply
  • like

December 2, 2019 at 10:06am
How to add right side custom hyperlinks in the manubar ?
  • reply
  • like
Do you mean how to customize the toolbar in the right area?
  • reply
  • like
I've certainly had cause to add some additional widgets to the File menu bar on the right-hand-side. For example, it's a convenient place to add log-in/out buttons and other settings-related features
  • reply
  • like
I'm not sure if I did this correctly, but I did something like:
const topWidgets = this._applicationShell.getWidgets('top');
const menuBarWidget = topWidgets.filter(w => w.id == 'theia:menubar')[0];
const spacer = new Widget();
spacer.id = 'theia:topSpacer';
spacer.node.setAttribute('style', 'flex-grow: 1;');
this._applicationShell.addWidget(spacer,
{ area: 'top', mode: 'split-right', ref: menuBarWidget});
this._applicationShell.addWidget(this.loggedInStatusWidget,
{ area: 'top', mode: 'split-right', ref: spacer})
I had to add a flex spacer in there to push my widget over to the right
Edited
  • reply
  • like

December 3, 2019 at 3:18am
Do you mean how to customize the toolbar in the right area?
  • reply
  • like
You should implement TabBarToolbarContribution and register items which are only available then the widget in the right area. The widget is passed as the first argument. But please study API and look at how it is used in the theia repo.
  • reply
  • like
Please guide me to find that API documentation.
  • reply
  • like
  • reply
  • like

December 4, 2019 at 12:49pm
What could be possible reasons for terminal not working in a default theia-full:latest container?
  • reply
  • like
What could be possible reasons for terminal not working in a default theia-full:latest container?
Can you describe what you are experiencing? I've tested the theia-full:latest image and terminals are in fact working correctly.
  • reply
  • like
Can you describe what you are experiencing? I've tested the theia-full:latest image and terminals are in fact working correctly.
  • reply
  • like
I tried both with and without traefik2.0, on two different Ubuntu servers, with same result; the pane stays empty and the same errors in the container's stdout
  • reply
  • like
Is there more logging I can check (or enable first)?
  • reply
  • like

December 11, 2019 at 6:15am
I am having a text file in one of my extrension. I want to download it on button click. I am unable to set the exact path to download the file. It is always telling file not exist. How will be the relative path to download that file.
  • reply
  • like