質問するログイン新規登録

質問編集履歴

5

コードを追加

2020/03/30 02:32

投稿

Kchan_01
Kchan_01

スコア110

title CHANGED
File without changes
body CHANGED
@@ -24,4 +24,20 @@
24
24
  [2020-03-28 20:03:57.516] [exthost] [info] ExtensionService#_doActivateExtension Molitany.c-auto-prototypes {"startup":false,"extensionId":{"value":"Molitany.c-auto-prototypes","_lower":"molitany.c-auto-prototypes"},"activationEvent":"onCommand:AutoPrototype.prototypeCreate"}
25
25
  [2020-03-28 20:03:57.516] [exthost] [info] ExtensionService#loadCommonJSModule file:///Users/username/.vscode/extensions/molitany.c-auto-prototypes-1.9.5/AutoPrototype.js
26
26
 
27
+ ```
28
+
29
+ ###実行しているのは、以下のシンプルなコードです。
30
+ ```test.c
31
+ #include <stdio.h>
32
+
33
+ int main(void)
34
+ {
35
+ printsample();
36
+ return 0;
37
+ }
38
+
39
+ void printsample(void)
40
+ {
41
+ printf("hello!\n");
42
+ }
27
43
  ```

4

指摘を元に記述を訂正

2020/03/30 02:32

投稿

Kchan_01
Kchan_01

スコア110

title CHANGED
File without changes
body CHANGED
@@ -1,11 +1,19 @@
1
1
  MacでVSCodeを使って勉強している初心者です。
2
2
 
3
- 下記の拡張機能を使いたいのですが、うまく機能しません。
3
+ C Auto Prototypesという拡張機能を使いたいのですが、うまく機能しません。
4
- なにか他の拡張機能と競合しているのか、そもそも現在のVSCodeのバージョンに合っていない拡張機能なのか、調べたいのですが、やり方がわかりません。
5
4
 
6
5
  [C Auto Prototypes](https://marketplace.visualstudio.com/items?itemName=Molitany.c-auto-prototypes&ssr=false#overview)
7
6
 
7
+ 下記の記載に従って、hotkeyを押すのですが、実行されません。
8
8
 
9
+ > Use the hotkey alt+shift+Q to auto generate functions to the top of the file. Or if there is a header with the same name it will take everything above main and merge with the header.
10
+
11
+
12
+
13
+ なにか他の拡張機能と競合しているのか、そもそも現在のVSCodeのバージョンに合っていない拡張機能なのか、調べたいのですが、やり方がわかりません。
14
+
15
+
16
+
9
17
  既存の拡張機能のデバッグや、エラーの確認などする方法はございますでしょうか。
10
18
  ご存じの方いらっしゃいましたら教えていただけますと幸いです。
11
19
 

3

取得できたログを追記

2020/03/30 02:27

投稿

Kchan_01
Kchan_01

スコア110

title CHANGED
File without changes
body CHANGED
@@ -7,4 +7,13 @@
7
7
 
8
8
 
9
9
  既存の拡張機能のデバッグや、エラーの確認などする方法はございますでしょうか。
10
- ご存じの方いらっしゃいましたら教えていただけますと幸いです。
10
+ ご存じの方いらっしゃいましたら教えていただけますと幸いです。
11
+
12
+ 2020/03/28 20:13 加筆
13
+ 頂いたアドバイスを元にログを見つけることができましたが、何が動かない原因になっているのかわかりませんでした。
14
+
15
+ ```
16
+ [2020-03-28 20:03:57.516] [exthost] [info] ExtensionService#_doActivateExtension Molitany.c-auto-prototypes {"startup":false,"extensionId":{"value":"Molitany.c-auto-prototypes","_lower":"molitany.c-auto-prototypes"},"activationEvent":"onCommand:AutoPrototype.prototypeCreate"}
17
+ [2020-03-28 20:03:57.516] [exthost] [info] ExtensionService#loadCommonJSModule file:///Users/username/.vscode/extensions/molitany.c-auto-prototypes-1.9.5/AutoPrototype.js
18
+
19
+ ```

2

タイトルを変更

2020/03/28 11:15

投稿

Kchan_01
Kchan_01

スコア110

title CHANGED
@@ -1,1 +1,1 @@
1
- VSCode 「C Auto Prototypes」という拡張機能が使えない原因を突き止めたい。
1
+ VSCode 拡張機能が使えない原因をデバッグやエラーログを見ることで突き止めたい。
body CHANGED
File without changes

1

リンクを編集

2020/03/27 14:59

投稿

Kchan_01
Kchan_01

スコア110

title CHANGED
File without changes
body CHANGED
@@ -3,8 +3,8 @@
3
3
  下記の拡張機能を使いたいのですが、うまく機能しません。
4
4
  なにか他の拡張機能と競合しているのか、そもそも現在のVSCodeのバージョンに合っていない拡張機能なのか、調べたいのですが、やり方がわかりません。
5
5
 
6
- C Auto Prototypes
7
- https://marketplace.visualstudio.com/items?itemName=Molitany.c-auto-prototypes&ssr=false#overview
6
+ [C Auto Prototypes](https://marketplace.visualstudio.com/items?itemName=Molitany.c-auto-prototypes&ssr=false#overview)
8
7
 
8
+
9
9
  既存の拡張機能のデバッグや、エラーの確認などする方法はございますでしょうか。
10
10
  ご存じの方いらっしゃいましたら教えていただけますと幸いです。