SublimeInput
SublimeInput copied to clipboard
Problem in taking input
i have just added sublime Input sublime package file into installed package folder and restarted sublime text and when i press ctrl+alt+b for this code
#include
C:/Program Files (x86)/mingw-w64/i686-7.1.0-posix-dwarf-rt_v5-rev2/mingw32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot open output file C:\Users\Moti Baadror\Desktop\youtube/tet1.exe: Permission denied collect2.exe: error: ld returned 1 exit status
Can you share the config file you are using for SublimeInput?
i am using this file https://github.com/mavidser/SublimeInput/releases/download/3.1.1/Sublime.Input.sublime-package output:ECHO[Finished in 1.2s]
I am not able to reproduce this problem. Can you post a sample program which gives this error, and any settings you might have configured in Preferences > SublimeInput > Settings ?
I see that you're using minGW compiler, but your source uses bits/stdc++ header. Are you sure you've included this non-standard header?
Or you can change the compiler in Preferences > SublimeInput > Settings - User like here
#include
/*input hello */ int main() { string s; cin>>s; cout<<s; return 0;
} configure file { "build_schemas" : { "cpp" : { "shell_cmd" : "g++ "${file}" -o "${file_path}/${file_base_name}" && "${file_path}/${file_base_name}"", "input_start" : "/input", "input_end" : "/" } } } i have added this at the path you have shown and it is saaved as name"sublimeInput.sublime-setting i didnt add that keymap config when i try to add preference-> package setting->sublimeInput->keybinding user abd after pasting this file there [ { {
-
"keys": ["ctrl+alt+b"], "command": "input" + "keys": ["ctrl+alt+b"], "command": "sublime_input"
- },
- {
-
} } ] ] it is showing "error trying to parse file:expected value in packages\user\default(Windows)..sublime-keymap:2:17"keys": ["ctrl+alt+c"], "command": "cancel_sublime_input"
[ { {
-
"keys": ["ctrl+alt+b"], "command": "input" + "keys": ["ctrl+alt+b"], "command": "sublime_input"
- },
- {
-
} } ] ] can you check this file its showing Error: Parse error on line 2: [ { { - "keys": ----------------^ Expecting 'STRING', '}', got '{' in the Json lint"keys": ["ctrl+alt+c"], "command": "cancel_sublime_input"