事情的经过是,我在安装好Juno后,又安装了一个给tool-bar增强的包,这个增强包好像是能将原来的tool-bar给覆盖掉,但是当我将这个增强包卸载并只使用tool-bar时, tool-bar的功能键也没了,怎么都调不出来了。使用过的方法有:删掉tool-bar重安,切换tool-bar的设置中Visible,view–>toggle tool bar,即便如此,旁边的功能键们就是不出来。以下是tool-bar的package.json:
{
"_from": "https://www.atom.io/api/packages/tool-bar/versions/1.3.0/tarball",
"_id": "tool-bar@1.3.0",
"_inBundle": false,
"_integrity": "sha512-rc1Ci8vi5cSNdt9J9CgzpXsCUXVt1kbfnJiDPfypOA0OSMk/f6YZY35lXSrMcefuUlRXBwoQk03V8KEu4HIzKQ==",
"_location": "/tool-bar",
"_phantomChildren": {},
"_requested": {
"type": "remote",
"raw": "https://www.atom.io/api/packages/tool-bar/versions/1.3.0/tarball",
"rawSpec": "https://www.atom.io/api/packages/tool-bar/versions/1.3.0/tarball",
"saveSpec": "https://www.atom.io/api/packages/tool-bar/versions/1.3.0/tarball",
"fetchSpec": "https://www.atom.io/api/packages/tool-bar/versions/1.3.0/tarball"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://www.atom.io/api/packages/tool-bar/versions/1.3.0/tarball",
"_shasum": "cb837c00f005c52983ecf3ad31d3213893fc653f",
"_spec": "https://www.atom.io/api/packages/tool-bar/versions/1.3.0/tarball",
"_where": "/private/var/folders/nv/kd9h_5b90272qlswfwcyf1l00000gn/T/apm-install-dir-2020424-4697-lqbzsj.qgxuj",
"activationHooks": [
"core:loaded-shell-environment"
],
"bugs": {
"url": "https://github.com/suda/toolbar/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Package providing customisable tool bar",
"devDependencies": {
"babel-eslint": "^10.1.0",
"eslint": "^6.8.0",
"eslint-plugin-json": "^2.1.1",
"remark-cli": "^8.0.0",
"remark-preset-lint-recommended": "^4.0.0"
},
"engines": {
"atom": ">=1.20.0"
},
"homepage": "https://github.com/suda/toolbar#readme",
"keywords": [
"toolbar",
"tool-bar",
"service"
],
"license": "MIT",
"main": "./lib/tool-bar",
"name": "tool-bar",
"providedServices": {
"tool-bar": {
"description": "A container for buttons at workspace edge",
"versions": {
"1.0.0": "provideToolBar"
}
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/suda/toolbar.git"
},
"scripts": {
"lint": "eslint . --fix --ext js,json && remark *.md",
"test": "atom --test spec"
},
"version": "1.3.0"
}
我也不知道是否与json有关,只是怀疑可能有哪里出问题了,大佬们如果想知道其他信息,我也可以提供。