最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Variable name auto-fillsuggestions in Stata not appearing for in-line locals - Stack Overflow

programmeradmin0浏览0评论

Lately, when coding in Stata, the auto-fill suggestions for variables is not popping up when calling a local, when not at the beginning of a line. To be clear, the auto-fill appears is working (regardless of position) for regular variables and for globals. It also works for locals, when no text precedes the called local in the line.

To clarify what I mean, take the following code:

gen test_var = 10
global test_global = 15
local test_local = 20

If I type the expression

local test_calculation = ${test_global} + `test_local'

then Stata will automatically suggest names for the test_global variable and not do so for the test_local variable. However, if I simply type this

`test_local'

then Stata will suggest names for the local.

I haven't always had this issue; it started a few months ago and has been persistent. I recently updated to StataNow 18, but no dice. I've tried changing Stata's auto-fill settings, but they all seem to be correct. I've attached my Stata auto-completion settings; everything is enabled except for "Ignore text in comments." My auto-completion settings

发布评论

评论列表(0)

  1. 暂无评论