Use source index to get completions from current package
only suggest top-level functions
work on source index completions
don't auto-accept on a suggestion after an accepted completion
don't auto-suggest for function arguments
helper for creating named list
finish wiring up package autocompletions
limit completions on '$', '@', '::', ':::'
prefer function argument completions
pass parent frame as envir
check enclosing frames of env
tidy a bit; reorganize completions; don't auto-accept on '@' etc
tidy up
shims for 'packageNameForSourceFile', 'isRScriptInPackageBuildTarget'
check that we have a project for getting the directory
wire up 'active package' completions
make sure we filter completions
properly reorder completions
get the completion types; remove base if in completion list
slightly cleaner impl