gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

Gitpod Todo Tree

Open flamecopper opened this issue 6 years ago • 13 comments

Hi there,

I am trying to use TODO tree extension. When I hit todo on the comments it doesn't really show any thing. When I try to run it say something like : cannot find vscode-git-grep "todo-tree: Failed to find vscode-ripgrep - please install ripgrep manually and set 'todo-tree.ripgrep' to point to the executable"

Seperately, I have a few others issues.

2ndly, I am using PHP-CS-Fixer, how do i stop the tooltip below from appearing?

3rdly, how do I automate things like git add *, git commit , and git push

4rdly, When i use this command git add --all; git commit ; git push I save the commit files, it doesn't shows any changes until I restarted the server.

flamecopper avatar Sep 13 '20 10:09 flamecopper

I think ripgrep is supposed to be included with Theia, @svenefftinge, what do you think of this?

sr229 avatar Sep 13 '20 15:09 sr229

So I do I get theia in the first place? What are the advantage of using theia

On Sun, 13 Sep 2020, 23:26 Capuccino, [email protected] wrote:

I think ripgrep is supposed to be included with Theia, @svenefftinge https://github.com/svenefftinge, what do you think of this?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gitpod-io/gitpod/issues/1846#issuecomment-691685546, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJLG36TYGXUHGAZQ3B27DLSFTQCDANCNFSM4RKSX2YQ .

flamecopper avatar Sep 13 '20 23:09 flamecopper

So I do I get theia in the first place? What are the advantage of using theia … On Sun, 13 Sep 2020, 23:26 Capuccino, @.***> wrote: I think ripgrep is supposed to be included with Theia, @svenefftinge https://github.com/svenefftinge, what do you think of this? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#1846 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJLG36TYGXUHGAZQ3B27DLSFTQCDANCNFSM4RKSX2YQ .

Gitpod uses Theia as the IDE framework for its editor experience, when we refer to Theia we refer to Gitpod's IDE usually.

sr229 avatar Sep 14 '20 02:09 sr229

Theia does use ripgrep and it is installed as a dependency. It could be found at /theia/node_modules/vscode-ripgrep/bin/rg which is not a common path for node_modules. Therefore the extension could not find it. But it can be set directly in the preferences (File -> Settings -> Open Preferences).

image

fullmetalrooster avatar Sep 15 '20 09:09 fullmetalrooster

I think ripgrep is supposed to be included with Theia, @svenefftinge, what do you think of this?

It is included:

$ ls -al ../../theia/node_modules/vscode-ripgrep/bin/rg 
-rwxr-xr-x 1 root root 5057144 Jul 14 21:16 ../../theia/node_modules/vscode-ripgrep/bin/rg

Try to set the path to the ripgrep binary manually in your .vscode/settings.json. It should be something like this in Gitpod:

{
  "todo-tree.ripgrep.ripgrep": "../../theia/node_modules/vscode-ripgrep/bin/rg"
}

It works locally like this, although I do not know what I supposed to see in the TODO tree: Screen Shot 2020-09-15 at 11 29 09

kittaakos avatar Sep 15 '20 09:09 kittaakos

  1. Git commands could be automated using a simple bash script.
#/bin/bash
git commit -am "<MSG>"
git push

fullmetalrooster avatar Sep 15 '20 09:09 fullmetalrooster

  1. What server needs to be restarted?

fullmetalrooster avatar Sep 15 '20 09:09 fullmetalrooster

  1. What server needs to be restarted?

The issues doesn't exist now. Just that sometime the commit message doesn't show until i refresh the page.

flamecopper avatar Sep 15 '20 12:09 flamecopper

  1. Git commands could be automated using a simple bash script.
#/bin/bash
git commit -am "<MSG>"
git push

i use alias instead

flamecopper avatar Sep 15 '20 12:09 flamecopper

Hi there,,

I got a seperate queries, the gitpod somewhat hangs when a files with multiple lines like 1mb 2mb is open. How do I reset the workspace?

flamecopper avatar Sep 15 '20 12:09 flamecopper

Also sometimes I having this issues: 2019/04/25 12:21:33 error while issuing request: Post http://localhost:23000/gitpod/cli: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

flamecopper avatar Sep 15 '20 12:09 flamecopper

Is the original issue with the Todo Tree solved? If so, please close this issue.

Please open separate issues for different/unrelated questions/problems.

corneliusludmann avatar Sep 17 '20 16:09 corneliusludmann

@corneliusludmann looks like there isn't any outstanding issues at the moment based on my testing so this could be closed.

sr229 avatar Sep 19 '20 05:09 sr229