base operand of '->' has non-pointer type 'const Comple ->操作符前面的操作数类型不是指针类型 错误原因 函数(&对象) { 对象名.成员 //正确方式 对象名->成员 //编译报错 base operand of '->' has non-pointer type ....... } 引用传递的参数
复制以下代码到用户按键绑定设置,即可实现光标在标签对之间,按回车后,闭合标签换两行,光标在中间行并自动缩进。 1 { "keys": ["enter"], "command": "auto_indent_tag", "context": 2 [ 3 { "key": "setting.auto_indent",