Bug 160785 - [shells][ssh] Content assist does not work for environment variables as advertised by help
Summary: [shells][ssh] Content assist does not work for environment variables as adver...
Status: NEW
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: David McKnight CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: bugday
Depends on: 244404
Blocks:
  Show dependency tree
 
Reported: 2006-10-12 21:15 EDT by Ted Williams CLA
Modified: 2009-07-09 01:32 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ted Williams CLA 2006-10-12 21:15:06 EDT
From the help "The Remote Commands view supports content assist. You can press CTRL+space to complete file names or environment variable names while you type commands."

Login to a linux host, enter "ls $HO<control space>". $HOME is a defined environment variable. Why doesn't content assist complete?

-----------Enter bugs above this line-----------
RSE 1.0 Testing round 2
installation : eclipse-platform-3.2 (M20060629-1905)
RSE install  : update-site RSE-complete
java.runtime : Sun 1.5.0_07-b03
os.name:     : Windows XP 5.1, Service Pack 2
------------------------------------------------
systemtype   : Windows-local
targetos     : Linux Gentoo 2.6.11
targetuname  : Linux 2.6.11-gentoo-r3 #2 SMP i686 Intel(R) Pentium(R) 4 CPU
targetvm     : Sun Java HotSpot(TM) client VM (build 1.5.0_07-b03, mixed mode)
------------------------------------------------
Comment 1 Martin Oberhuber CLA 2006-11-10 17:57:00 EST
Need to investigate
Comment 2 Martin Oberhuber CLA 2008-09-16 15:44:59 EDT
Deferring shell (RSE Commandview) related bugs since ITerminalService is more interesting for WR now
Comment 3 David McKnight CLA 2009-06-22 12:17:55 EDT
What kind of connection is being used here (dstore, ssh, etc.)?  It works for me with dstore but not with ssh.


Comment 4 Martin Oberhuber CLA 2009-06-23 09:33:06 EDT
I assume that Ted has been testing ssh.
Comment 5 David McKnight CLA 2009-06-23 12:09:06 EDT
Assuming this is via SSH, the reason this doesn't work is because the
TerminalShellService does not provide an implemenation of:        

IShellService.getHostEnvironment()

so it defaults to an empty list.
Comment 6 Martin Oberhuber CLA 2009-06-23 12:54:12 EDT
I think there's an existing bug for SSH to provide environment support... can you mark this one as dependent on that one?
Comment 7 David McKnight CLA 2009-07-07 12:15:27 EDT
(In reply to comment #6)
> I think there's an existing bug for SSH to provide environment support... can
> you mark this one as dependent on that one?
> 

Martin, is bug 244404 the one you're referring to?