0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Ruben Bridgewater 50ba066921 repl: improve repl autocompletion for require calls
This improves the autocompletion for require calls. It had multiple
small issues so far. Most important: it won't suggest completions for
require statements that are fully written out. Second, it'll detect
require calls that have whitespace behind the opening bracket. Third,
it makes sure node modules are detected as such instead of only
suggesting them as folders. Last, it adds suggestions for input that
starts with backticks.

Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>

PR-URL: https://github.com/nodejs/node/pull/33282
Fixes: https://github.com/nodejs/node/issues/33238
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2020-05-15 01:48:40 +02:00
..
fs
internal repl: replace hard coded core module list with actual list 2020-05-15 01:48:17 +02:00
_http_agent.js http: ensure client request emits close 2020-05-04 11:35:58 +02:00
_http_client.js http: don't destroy completed request 2020-05-11 18:02:32 +02:00
_http_common.js http: fixes memory retention issue with FreeList and HTTPParser 2020-05-05 16:14:46 +02:00
_http_incoming.js http: return this from IncomingMessage#destroy() 2020-05-09 13:57:28 -04:00
_http_outgoing.js http: return this from OutgoingMessage#destroy() 2020-05-09 13:57:29 -04:00
_http_server.js http: emit 'error' on aborted server request 2020-05-10 22:11:21 +02:00
_stream_duplex.js stream: let Duplex re-use Writable properties 2020-04-29 05:08:31 +02:00
_stream_passthrough.js
_stream_readable.js stream: simplify Readable push/unshift logic 2020-04-30 11:07:06 +02:00
_stream_transform.js stream: fix _final and 'prefinish' timing 2020-04-22 09:40:03 +02:00
_stream_wrap.js
_stream_writable.js stream: write should throw on unknown encoding 2020-04-28 15:59:46 +02:00
_tls_common.js
_tls_wrap.js tls: fix --tls-keylog option 2020-05-14 16:52:52 +02:00
.eslintrc.yaml
assert.js assert: port common.mustCall() to assert 2020-04-23 10:11:47 -07:00
async_hooks.js async_hooks: move PromiseHook handler to JS 2020-05-09 07:52:22 +02:00
buffer.js buffer: improve copy() performance 2020-05-09 08:04:10 +02:00
child_process.js
cluster.js
console.js
constants.js
crypto.js tls: provide default cipher list from command line 2020-04-13 18:48:23 +02:00
dgram.js
dns.js dns: remove duplicate code 2020-04-07 20:35:07 +02:00
domain.js
events.js
fs.js fs: add .ref() and .unref() methods to watcher classes 2020-05-09 07:59:08 +02:00
http2.js
http.js http: expose http.validate-header-name/value 2020-05-09 07:55:55 +02:00
https.js
inspector.js
module.js
net.js net: autoDestroy Socket 2020-04-02 23:38:32 +02:00
os.js
path.js path: fix comment grammar 2020-04-28 19:10:26 +02:00
perf_hooks.js perf_hooks: fix error message for invalid entryTypes 2020-05-10 13:53:15 +02:00
process.js
punycode.js
querystring.js
readline.js
repl.js repl: improve repl autocompletion for require calls 2020-05-15 01:48:40 +02:00
stream.js
string_decoder.js
sys.js
timers.js lib: created isValidCallback helper 2020-04-14 13:54:21 +08:00
tls.js tls: provide default cipher list from command line 2020-04-13 18:48:23 +02:00
trace_events.js
tty.js
url.js
util.js
v8.js v8: use AliasedBuffers for passing heap statistics around 2020-04-28 19:13:20 +02:00
vm.js vm: fix vm.measureMemory() and introduce execution option 2020-04-30 17:42:12 +08:00
wasi.js wasi: update start() behavior to match spec 2020-04-28 13:04:43 -04:00
worker_threads.js
zlib.js zlib: reject windowBits=8 when mode=GZIP 2020-05-09 07:54:40 +02:00