File tree Expand file tree Collapse file tree 10 files changed +200
-0
lines changed
src/extensionsIntegrated/CustomSnippets Expand file tree Collapse file tree 10 files changed +200
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * GNU AGPL-3.0 License
3+ *
4+ * Copyright (c) 2021 - present core.ai . All rights reserved.
5+ *
6+ * This program is free software: you can redistribute it and/or modify it
7+ * under the terms of the GNU Affero General Public License as published by
8+ * the Free Software Foundation, either version 3 of the License, or
9+ * (at your option) any later version.
10+ *
11+ * This program is distributed in the hope that it will be useful, but WITHOUT
12+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
14+ * for more details.
15+ *
16+ * You should have received a copy of the GNU Affero General Public License
17+ * along with this program. If not, see https://opensource.org/licenses/AGPL-3.0.
18+ *
19+ */
20+
121/* eslint-disable no-invalid-this */
222define ( function ( require , exports , module ) {
323 const Global = require ( "./global" ) ;
Original file line number Diff line number Diff line change 1+ /*
2+ * GNU AGPL-3.0 License
3+ *
4+ * Copyright (c) 2021 - present core.ai . All rights reserved.
5+ *
6+ * This program is free software: you can redistribute it and/or modify it
7+ * under the terms of the GNU Affero General Public License as published by
8+ * the Free Software Foundation, either version 3 of the License, or
9+ * (at your option) any later version.
10+ *
11+ * This program is distributed in the hope that it will be useful, but WITHOUT
12+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
14+ * for more details.
15+ *
16+ * You should have received a copy of the GNU Affero General Public License
17+ * along with this program. If not, see https://opensource.org/licenses/AGPL-3.0.
18+ *
19+ */
20+
121define ( function ( require , exports , module ) {
222 const EditorManager = require ( "editor/EditorManager" ) ;
323
Original file line number Diff line number Diff line change 1+ /*
2+ * GNU AGPL-3.0 License
3+ *
4+ * Copyright (c) 2021 - present core.ai . All rights reserved.
5+ *
6+ * This program is free software: you can redistribute it and/or modify it
7+ * under the terms of the GNU Affero General Public License as published by
8+ * the Free Software Foundation, either version 3 of the License, or
9+ * (at your option) any later version.
10+ *
11+ * This program is distributed in the hope that it will be useful, but WITHOUT
12+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
14+ * for more details.
15+ *
16+ * You should have received a copy of the GNU Affero General Public License
17+ * along with this program. If not, see https://opensource.org/licenses/AGPL-3.0.
18+ *
19+ */
20+
121define ( function ( require , exports , module ) {
222 /**
323 * this function creates a filter string for a snippet containing all the searchable fields
Original file line number Diff line number Diff line change 1+ /*
2+ * GNU AGPL-3.0 License
3+ *
4+ * Copyright (c) 2021 - present core.ai . All rights reserved.
5+ *
6+ * This program is free software: you can redistribute it and/or modify it
7+ * under the terms of the GNU Affero General Public License as published by
8+ * the Free Software Foundation, either version 3 of the License, or
9+ * (at your option) any later version.
10+ *
11+ * This program is distributed in the hope that it will be useful, but WITHOUT
12+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
14+ * for more details.
15+ *
16+ * You should have received a copy of the GNU Affero General Public License
17+ * along with this program. If not, see https://opensource.org/licenses/AGPL-3.0.
18+ *
19+ */
20+
121define ( function ( require , exports , module ) {
222 /**
323 * This is an array of objects. this will store the list of all the snippets
Original file line number Diff line number Diff line change 1+ /*
2+ * GNU AGPL-3.0 License
3+ *
4+ * Copyright (c) 2021 - present core.ai . All rights reserved.
5+ *
6+ * This program is free software: you can redistribute it and/or modify it
7+ * under the terms of the GNU Affero General Public License as published by
8+ * the Free Software Foundation, either version 3 of the License, or
9+ * (at your option) any later version.
10+ *
11+ * This program is distributed in the hope that it will be useful, but WITHOUT
12+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
14+ * for more details.
15+ *
16+ * You should have received a copy of the GNU Affero General Public License
17+ * along with this program. If not, see https://opensource.org/licenses/AGPL-3.0.
18+ *
19+ */
20+
121define ( function ( require , exports , module ) {
222 const StringMatch = require ( "utils/StringMatch" ) ;
323 const Global = require ( "./global" ) ;
Original file line number Diff line number Diff line change 1+ /*
2+ * GNU AGPL-3.0 License
3+ *
4+ * Copyright (c) 2021 - present core.ai . All rights reserved.
5+ *
6+ * This program is free software: you can redistribute it and/or modify it
7+ * under the terms of the GNU Affero General Public License as published by
8+ * the Free Software Foundation, either version 3 of the License, or
9+ * (at your option) any later version.
10+ *
11+ * This program is distributed in the hope that it will be useful, but WITHOUT
12+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
14+ * for more details.
15+ *
16+ * You should have received a copy of the GNU Affero General Public License
17+ * along with this program. If not, see https://opensource.org/licenses/AGPL-3.0.
18+ *
19+ */
20+
121/* eslint-disable no-invalid-this */
222define ( function ( require , exports , module ) {
323 const AppInit = require ( "utils/AppInit" ) ;
Original file line number Diff line number Diff line change 1+ /*
2+ * GNU AGPL-3.0 License
3+ *
4+ * Copyright (c) 2021 - present core.ai . All rights reserved.
5+ *
6+ * This program is free software: you can redistribute it and/or modify it
7+ * under the terms of the GNU Affero General Public License as published by
8+ * the Free Software Foundation, either version 3 of the License, or
9+ * (at your option) any later version.
10+ *
11+ * This program is distributed in the hope that it will be useful, but WITHOUT
12+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
14+ * for more details.
15+ *
16+ * You should have received a copy of the GNU Affero General Public License
17+ * along with this program. If not, see https://opensource.org/licenses/AGPL-3.0.
18+ *
19+ */
20+
121define ( function ( require , exports , module ) {
222 const CodeHintManager = require ( "editor/CodeHintManager" ) ;
323
Original file line number Diff line number Diff line change 1+ /*
2+ * GNU AGPL-3.0 License
3+ *
4+ * Copyright (c) 2021 - present core.ai . All rights reserved.
5+ *
6+ * This program is free software: you can redistribute it and/or modify it
7+ * under the terms of the GNU Affero General Public License as published by
8+ * the Free Software Foundation, either version 3 of the License, or
9+ * (at your option) any later version.
10+ *
11+ * This program is distributed in the hope that it will be useful, but WITHOUT
12+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
14+ * for more details.
15+ *
16+ * You should have received a copy of the GNU Affero General Public License
17+ * along with this program. If not, see https://opensource.org/licenses/AGPL-3.0.
18+ *
19+ */
20+
121define ( function ( require , exports , module ) {
222 const KeyEvent = require ( "utils/KeyEvent" ) ;
323 const EditorManager = require ( "editor/EditorManager" ) ;
Original file line number Diff line number Diff line change 1+ /*
2+ * GNU AGPL-3.0 License
3+ *
4+ * Copyright (c) 2021 - present core.ai . All rights reserved.
5+ *
6+ * This program is free software: you can redistribute it and/or modify it
7+ * under the terms of the GNU Affero General Public License as published by
8+ * the Free Software Foundation, either version 3 of the License, or
9+ * (at your option) any later version.
10+ *
11+ * This program is distributed in the hope that it will be useful, but WITHOUT
12+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
14+ * for more details.
15+ *
16+ * You should have received a copy of the GNU Affero General Public License
17+ * along with this program. If not, see https://opensource.org/licenses/AGPL-3.0.
18+ *
19+ */
20+
121/*
222 * This file handles the display and management of the snippets list that is shown in the UI
323 * Note: when there are no snippets present, a message like no snippets are added yet is shown. refer to the html file
Original file line number Diff line number Diff line change 1+ /*
2+ * GNU AGPL-3.0 License
3+ *
4+ * Copyright (c) 2021 - present core.ai . All rights reserved.
5+ *
6+ * This program is free software: you can redistribute it and/or modify it
7+ * under the terms of the GNU Affero General Public License as published by
8+ * the Free Software Foundation, either version 3 of the License, or
9+ * (at your option) any later version.
10+ *
11+ * This program is distributed in the hope that it will be useful, but WITHOUT
12+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
14+ * for more details.
15+ *
16+ * You should have received a copy of the GNU Affero General Public License
17+ * along with this program. If not, see https://opensource.org/licenses/AGPL-3.0.
18+ *
19+ */
20+
121define ( function ( require , exports , module ) {
222 const PreferencesManager = require ( "preferences/PreferencesManager" ) ;
323
You can’t perform that action at this time.
0 commit comments