From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 75807C433F5 for ; Thu, 14 Apr 2022 20:36:20 +0000 (UTC) Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1nf6C7-0006qw-Sk; Thu, 14 Apr 2022 16:35:59 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1nf6C4-0006qi-QL for kernelnewbies@kernelnewbies.org; Thu, 14 Apr 2022 16:35:56 -0400 Received: by mail-lf1-x12f.google.com with SMTP id w19so11031580lfu.11 for ; Thu, 14 Apr 2022 13:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=clLZfAWOGSxDnzp3rhMyaVY1qB7QQXIvN3OJUPMQlqE=; b=L1kLJTbkaFwTEQoT1HGZalHo3SGKysKPDHjWGi9qbMDQMHr9NzkF3T9i3GsCKaqtHV 0CZx6r4cxwicbHr36oC5/3fmOgOw0QGwQWlZeNATfb4oaa83STbpzoiEwvAMYkAhD6xs M8LXz/9kJZb3+mCPiZsZVXzwkCoFCsY5uQBVKn1I3SDdGvVFFWin1jwQTReu/xBgI09w kGhcJw6iUwOfvonBkzmuF5GIqWAFpNtRBgCRQM4Yxv4u4MbLXr1OIZSEHOS5wrSFir73 pOs75VJrDt6CjNr9c7mSttXS8mGKS01Zh83Pn3agMlyWG9CSvi4XN35YcW308KBZ60y+ AUoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=clLZfAWOGSxDnzp3rhMyaVY1qB7QQXIvN3OJUPMQlqE=; b=mMuLx4JpmHCg4Rr6M/WEB3cXHGAvZ2GIrvlDPSYBDaMzwElnTV4s8S+tas7b0iH2uc Wz3faz7bIUqeHh3F2IIyWG3Wihvwt8Q4nHp75uhD9IawS/34GKWA784oAgGepNicZt06 wEOjYRUdkyoa/D3JodNw/E+GqSt4jBbqpaj2/w9k9zEwEMXTMuaTH/EwGUi+wxxoGgoQ N4+qxYU9srTYuOakePNLnyJ84IZrVUYvt25YmgCLFdcvsiP4//d/slcnVscAqdUiVarr uvj7xOAM1Nasxug9dynIlbIgRKPnyzVeiLXmtoIluyNXKQVMRWPZ/WJZwcUwELZE0Aen ehMA== X-Gm-Message-State: AOAM530g91JdNUjSUS090hE1mpKg7ejCfqDGPTVUouGxvt+86kcWOG+j ku4bQdxE3B6sK6FHQ5DdqT8= X-Google-Smtp-Source: ABdhPJzsLkJM4RE53ddlo5fn4wg3QIT2RdAlIy8hbyE62sM52XYPv47VYJVrytlNx1HOzFulmxDtTQ== X-Received: by 2002:a05:6512:3087:b0:44a:3cc8:757d with SMTP id z7-20020a056512308700b0044a3cc8757dmr2958650lfd.178.1649968554407; Thu, 14 Apr 2022 13:35:54 -0700 (PDT) Received: from [192.168.1.11] ([94.103.225.17]) by smtp.gmail.com with ESMTPSA id b6-20020a2e9886000000b0024b5878fe70sm92504ljj.4.2022.04.14.13.35.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Apr 2022 13:35:54 -0700 (PDT) Message-ID: Date: Thu, 14 Apr 2022 23:35:53 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: Linux kernel environment setup in VSCode Content-Language: en-US To: Jasper Surmont , kernelnewbies@kernelnewbies.org References: <5cc55f35-7513-731d-6e6f-dd6cbf0d6765@gmail.com> From: Pavel Skripkin In-Reply-To: <5cc55f35-7513-731d-6e6f-dd6cbf0d6765@gmail.com> X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: kernelnewbies-bounces@kernelnewbies.org Hi Jasper, On 4/4/22 21:31, Jasper Surmont wrote: > Hey, > > I'm new to the Linux kernel development, and I wanted to set up a VSCode > environment for navigating the code (I know, even though people tell me > Vim is better but currently I'm really not comfortable with it yet). > My main goal is just navigating and understanding. I've been able to > make a lot work, and using the C/C++ extension from Microsoft I have > good IntelliSense. > Just don't install stock C/C++ extension. This extension can't handle the kernel, so every time you press 'go to definition' button you will get "hey, there are 20 references, one of them is 100% definition, so go ahead and find it yourself". That's why I moved to vim + ctags. It saves my time a lot. I saw, that there are other c extensions and people say they are a way better, but I didn't give them a try Good luck! With regards, Pavel Skripkin _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies