Comments (8)
command line completion was added along with history
... file completion is yet to be completed
from tode.
From @pdebruic:
Can "?" or "help" or "man" (man without a command) be made into a
shell command that lists the possible commands at that point?
from tode.
node test patterns:
input | after tab |
---|---|
/ | / : examples/ home@/ mc/ metacello/ projects@/ sys/ tmp/ tools/ |
/s | /sys/ : |
/sys | /sys/ : |
/sys/ | /sys/ : default@/ local@/ oldHome@/ stone@/ stones@/ |
/sys/st | /sys/stone : stone stones |
/sys/stones | /sys/stones/ : |
/sys/stones/ | /sys/stones/ : README.md stones/ templates/ |
. | ./ : |
./ | ./ : home/ homeComposition@/ projectComposition@/ projects/ |
./p | ./project : projectComposition projects |
./projectC | ./projectComposition/ : |
./projectComposition/ | ./projectComposition/ : crypto@/ GLASS1@/ grease@/ gsApplicationTools@/ gsDevKitHome@/ GsUpgrader@/ IndexTutorial@/ |
~ | ~/ : |
~/ | ~/: crypto@/ GLASS1@/ grease@/ gsApplicationTools@/ gsDevKitHome@/ GsUpgrader@/ IndexTutorial@/` |
~/Gs | ~/GsUpgrader : |
command/path test patterns:
input | after tab |
---|---|
ls / | ls / : examples/ home@/ mc/ metacello/ projects@/ sys/ tmp/ tools/ |
ls /s | ls /sys/ : |
ls /sys | ls /sys/ : |
ls /sys/ | ls /sys/ : default@/ local@/ oldHome@/ stone@/ stones@/ |
ls /sys/st | ls /sys/stone : stone stones |
ls /sys/stones | ls /sys/stones/ : |
ls /sys/stones/ | ls /sys/stones/ : README.md stones/ templates/ |
ls ./ | ls ./ : home/ homeComposition@/ projectComposition@/ projects/ |
ls ./p | ls ./project : projectComposition projects |
ls ./projectC | ls ./projectComposition/ : |
ls ./projectComposition/ | ls ./projectComposition/ : crypto@/ GLASS1@/ grease@/ gsApplicationTools@/ gsDevKitHome@/ GsUpgrader@/ IndexTutorial@/ |
command tab completion:
input | after tab |
---|---|
m |
m : man mc method mkdir mm mmb mount mr mv |
ma |
man : |
from tode.
Hmmmm ... I might be tempted to go a little bit crazy and introduce command-specific tab completion.
So you'd get help with available options and or subcommands .... for a command like browse class
, a tab would provide list of all classes that match the pattern, so you'd be able to build the class name on the command line ... same for methods ... the command line class TDCommandLine would have to be given a bit more to go on, but that can definitely be done ...
Then again, I should submit a separate bug, since right now I think I've pretty much matched up with what you get from unix with command and path completion ...
from tode.
from tode.
Ooops .. missed the use case involving ~/
...
from tode.
Oooh, oooh, oooh! need to handle expansion of @/
... which is a path to an object node:
mr list @/repos/Ston
from tode.
@/
tab completion moved to Issue #151
from tode.
Related Issues (20)
- tODE feedback from students ..
- using a string in an mr create make an error when doing a mr list HOT 1
- Drilling into an item in debugger when the item understands #parent: causes a walkback
- Link in readme is dead HOT 2
- need `mc rename` command that moves all of the definitions in a package to the new package
- `mount` (and possibly other directory-based commands) don't work when ASCII 8 or greater characters present in fileSyste HOT 1
- Allow LZ4 backups and restore HOT 1
- In `gsFlushCaches:` , `ObjectLogEntry initialize` should be under `hardFlush` case
- #_compileInContext:symbolList:oldLitVars:environmentId: sent but notimplemented in Gs3.3.8 and 3.3.9
- MNU when building a GsDevKit_home stone for G/S 3.3.0 HOT 1
- (3.5.0) errors while bootstrapping GLASS HOT 1
- add 3.5.0 to travis lineup ...
- add confirm warning before "cutting" a protocol from a class HOT 1
- DNU in TDDebugTool for remote debugging HOT 2
- port to GemStone 3.6.0 HOT 3
- recent tODE git diff hits an R100 op type record
- /tmp/commitMessage file can cause failures if more than one user has done a tODE `project commit` on the same machine
- port to 3.7.0 HOT 5
- potential timing error running todeRestore ... HOT 1
- failing CI unit tests after switch to GsDevKIt_stones for smalltalkCI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tode.