This commit is contained in:
Liang Ding 2014-10-12 22:58:08 +08:00
parent effcade295
commit c2c554b223
5 changed files with 8 additions and 11 deletions

View File

@ -15,15 +15,11 @@
"Password": "admin",
"Workspace": "{pwd}/data/user_workspaces/admin",
"LatestSessionContent": {
"FileTree": [
"D:\\GoGoGo\\src\\github.com\\b3log\\wide\\data\\user_workspaces\\admin\\src\\mytest",
"D:\\GoGoGo\\src\\github.com\\b3log\\wide\\data\\user_workspaces\\admin\\src\\mytest\\time",
"D:\\GoGoGo\\src\\github.com\\b3log\\wide\\data\\user_workspaces\\admin\\src\\mytest\\time\\pkg"
"FileTree": [
],
"Files": [
"D:\\GoGoGo\\src\\github.com\\b3log\\wide\\data\\user_workspaces\\admin\\src\\mytest\\time\\main.go"
"Files": [
],
"CurrentFile": "D:\\GoGoGo\\src\\github.com\\b3log\\wide\\data\\user_workspaces\\admin\\src\\mytest\\time\\main.go"
"CurrentFile": ""
}
}
]

View File

@ -201,7 +201,8 @@ func GetExprInfoHandler(w http.ResponseWriter, r *http.Request) {
ch := int(args["cursorCh"].(float64))
offset := getCursorOffset(code, line, ch)
glog.Infof("offset [%d]", offset)
// glog.Infof("offset [%d]", offset)
// TODO: 目前是调用 liteide_stub 工具来查找声明,后续需要重新实现
ide_stub := conf.Wide.GetIDEStub()

View File

@ -47,4 +47,4 @@
"usages": "查找使用",
"search_text": "查找文本",
"restore_bottom": "底部窗口还原"
}
}

View File

@ -53,7 +53,7 @@ func init() {
func loginHandler(w http.ResponseWriter, r *http.Request) {
i18n.Load()
if r.Method == "GET" {
if "GET" == r.Method {
// 展示登录页面
model := map[string]interface{}{"conf": conf.Wide, "i18n": i18n.GetAll(r), "locale": i18n.GetLocale(r), "ver": Ver}

View File

@ -44,4 +44,4 @@ button {
.fn-none {
display: none;
}
/* end reset & function */
/* end reset & function */